diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-06-14 09:07:31 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-06-14 09:07:31 +0000 |
| commit | 815e76fb1ff1fdde7885acfaeec5e9a6b0ac574a (patch) | |
| tree | 52c10a6efa0b31210c93578afbf8e92bac924510 /os | |
| parent | d9bd3181330830c49e714609e86eaa3e39a884ca (diff) | |
20080614-1006
Diffstat (limited to 'os')
| -rw-r--r-- | os/port/devcons.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/os/port/devcons.c b/os/port/devcons.c index 7460cffc..2f24a36f 100644 --- a/os/port/devcons.c +++ b/os/port/devcons.c @@ -304,6 +304,9 @@ _assert(char *fmt) panic("assert failed: %s", fmt); } +/* + * mainly for libmp + */ void sysfatal(char *fmt, ...) { @@ -313,7 +316,7 @@ sysfatal(char *fmt, ...) va_start(arg, fmt); vsnprint(buf, sizeof(buf), fmt, arg); va_end(arg); - panic("sysfatal: %s", buf); + error(buf); } int |
