diff options
| author | Russ Cox <rsc@golang.org> | 2012-12-29 21:48:25 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-12-29 21:48:25 -0500 |
| commit | a22389ec38dd57df86236feee47404c5b01ce191 (patch) | |
| tree | 9de446ed82eec84532cd144120657f026602189b /src/pkg/runtime | |
| parent | 0c6beb00fbe00b843030f7a1178dfbc23a8e63d6 (diff) | |
| download | go-a22389ec38dd57df86236feee47404c5b01ce191.tar.xz | |
runtime: say 'fatal error' instead of 'throw'
Fixes #4597.
R=ken2
CC=golang-dev
https://golang.org/cl/7032043
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
