From 1fa07c1e0fc9101b10ebe765cf191d82304b0087 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Sun, 24 Jul 2016 22:20:45 -0400 Subject: [PATCH] Handle error better --- runtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime.c b/runtime.c index de207ce8..6eca8b73 100644 --- a/runtime.c +++ b/runtime.c @@ -3593,8 +3593,8 @@ void Cyc_start_trampoline(gc_thread_data * thd) thd->gc_cont, thd->gc_args); } - printf("Internal error: should never have reached this line\n"); - exit(0); + fprintf(stderr, "Internal error: should never have reached this line\n"); + exit(1); } // Mark globals as part of the tracing collector