diff options
-rw-r--r-- | src/runtime/runtime.c | 4 | ||||
-rw-r--r-- | test/golden.out | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index 0a72b146b..13f9cacef 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -23,9 +23,7 @@ sys·panicl(int32 lno) { uint8 *sp; - prints("\npanic on line "); - sys·printint(lno); - prints(" "); + prints("\npanic "); sys·printpc(&lno); prints("\n"); sp = (uint8*)&lno; diff --git a/test/golden.out b/test/golden.out index 2a870d6f6..957aa86e7 100644 --- a/test/golden.out +++ b/test/golden.out @@ -146,7 +146,7 @@ BUG: should compile =========== bugs/bug119.go 3 74256 -panic on line 85 PC=xxx +panic PC=xxx BUG: should not fail =========== bugs/bug120.go |