]> Cypherpunks repositories - gostls13.git/commit
runtime: restore error message on early needm
authorAustin Clements <austin@google.com>
Tue, 9 Dec 2014 17:31:11 +0000 (12:31 -0500)
committerAustin Clements <austin@google.com>
Tue, 9 Dec 2014 20:12:14 +0000 (20:12 +0000)
commit76f71959c860cbd36c52d789d82914d8c2e300c9
treeaaece3bb9ab8f89d4cd0a03093ac33cd21a1734e
parente8f13700b70c99278fa42586f5785c09a3ae19b0
runtime: restore error message on early needm

needm used to print an error before exiting when it was called too
early, but this error was lost in the transition to Go.  Bring back
the error so we don't silently exit(1) when this happens.

Change-Id: I8086932783fd29a337d7dea31b9d6facb64cb5c1
Reviewed-on: https://go-review.googlesource.com/1226
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/proc1.go