@@ -270,7 +270,7 @@ bcc i (FOREIGNCALL l LANG_C rty fn args)
270270 (fn ++ "(" ++ showSep "," (map fcall args) ++ ")") ++ ";\n"
271271 where fcall (t, arg) = irts_c t (creg arg)
272272bcc i (NULL r) = indent i ++ creg r ++ " = NULL;\n" -- clear, so it'll be GCed
273−bcc i (ERROR str) = indent i ++ "fprintf(stderr, " ++ show str ++ "); exit(-1); exit(-1);"
273+bcc i (ERROR str) = indent i ++ "fprintf(stderr, " ++ show str ++ "); fprintf(stderr, \"\\n\"); exit(-1); exit(-1);"
274274-- bcc i _ = indent i ++ "// not done yet\n"
275275
276276