Commit 5dfdccf2 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

Fix Windows build; ErrorString->NewError

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4634080
parent 712fb6dc
......@@ -17,7 +17,7 @@ func (p *Process) Wait(options int) (w *Waitmsg, err Error) {
case syscall.WAIT_FAILED:
return nil, NewSyscallError("WaitForSingleObject", e)
default:
return nil, ErrorString("os: unexpected result from WaitForSingleObject")
return nil, NewError("os: unexpected result from WaitForSingleObject")
}
var ec uint32
e = syscall.GetExitCodeProcess(int32(p.handle), &ec)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment