Commit a22389ec authored by Russ Cox's avatar Russ Cox

runtime: say 'fatal error' instead of 'throw'

Fixes #4597.

R=ken2
CC=golang-dev
https://golang.org/cl/7032043
parent 0c6beb00
......@@ -455,7 +455,7 @@ void
runtime·throw(int8 *s)
{
runtime·startpanic();
runtime·printf("throw: %s\n", s);
runtime·printf("fatal error: %s\n", s);
runtime·dopanic(0);
*(int32*)0 = 0; // not reached
runtime·exit(1); // even more not reached
......
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