From d9bd3181330830c49e714609e86eaa3e39a884ca Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Thu, 12 Jun 2008 21:45:38 +0000 Subject: 20080612-2245 --- emu/port/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'emu/port/main.c') diff --git a/emu/port/main.c b/emu/port/main.c index 35f2a7ec..63c5b1ba 100644 --- a/emu/port/main.c +++ b/emu/port/main.c @@ -421,6 +421,9 @@ _assert(char *fmt) panic("assert failed: %s", fmt); } +/* + * mainly for libmp + */ void sysfatal(char *fmt, ...) { @@ -430,7 +433,7 @@ sysfatal(char *fmt, ...) va_start(arg, fmt); vsnprint(buf, sizeof(buf), fmt, arg); va_end(arg); - panic("sysfatal: %s", buf); + error(buf); } void -- cgit v1.2.3