summaryrefslogtreecommitdiff
path: root/emu/port/main.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-06-12 21:45:38 +0000
committerCharles.Forsyth <devnull@localhost>2008-06-12 21:45:38 +0000
commitd9bd3181330830c49e714609e86eaa3e39a884ca (patch)
tree9836330fa12c11f4dafce942e3eb23f8fcdf80c9 /emu/port/main.c
parent3d7a0c16959c77d931f7fdd2022945a563bbff10 (diff)
20080612-2245
Diffstat (limited to 'emu/port/main.c')
-rw-r--r--emu/port/main.c5
1 files changed, 4 insertions, 1 deletions
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