aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec_posix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/exec_posix.go')
-rw-r--r--src/os/exec_posix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/exec_posix.go b/src/os/exec_posix.go
index 45b47a542d..7ecddaed37 100644
--- a/src/os/exec_posix.go
+++ b/src/os/exec_posix.go
@@ -56,7 +56,7 @@ func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err e
runtime.KeepAlive(attr)
if e != nil {
- return nil, &PathError{"fork/exec", name, e}
+ return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
}
return newProcess(pid, h), nil