From: Russ Cox Date: Sun, 30 Dec 2012 02:48:25 +0000 (-0500) Subject: runtime: say 'fatal error' instead of 'throw' X-Git-Tag: go1.1rc2~1514 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a22389ec38dd57df86236feee47404c5b01ce191;p=gostls13.git runtime: say 'fatal error' instead of 'throw' Fixes #4597. R=ken2 CC=golang-dev https://golang.org/cl/7032043 --- diff --git a/src/pkg/runtime/panic.c b/src/pkg/runtime/panic.c index f94f1443cc..c96007dd16 100644 --- a/src/pkg/runtime/panic.c +++ b/src/pkg/runtime/panic.c @@ -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