1
0
mirror of https://github.com/golang/go synced 2024-11-20 03:34:40 -07: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:
Fazlul Shahriar 2011-04-11 12:39:53 -07:00 committed by Rob Pike
parent e2348deeec
commit 8c1a703560

View File

@ -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