diff options
Diffstat (limited to 'sys/libn/error.c')
-rw-r--r-- | sys/libn/error.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/libn/error.c b/sys/libn/error.c index 5595457..e0bb4d2 100644 --- a/sys/libn/error.c +++ b/sys/libn/error.c @@ -15,6 +15,14 @@ errorf(byte* fmt, ...) } void +verrorf(byte* fmt, va_list args) +{ + printf("error: "); + vprintf(fmt, args); + printf("\n"); +} + +void panicf(byte* fmt, ...) { int n; |