mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: fix StartProcess in Plan 9
This makes os_test.TestStartProcess test from os package pass. R=paulzhol, r2, r CC=golang-dev https://golang.org/cl/4385052
This commit is contained in:
parent
e2348deeec
commit
8c1a703560
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err Error)
|
|||
p[1] = -1
|
||||
|
||||
// Convert args to C form.
|
||||
argv0p := StringBytePtr(argv[0])
|
||||
argv0p := StringBytePtr(argv0)
|
||||
argvp := StringArrayPtr(argv)
|
||||
|
||||
var chroot *byte
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue