aboutsummaryrefslogtreecommitdiff
path: root/sys/base/error/panicf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/base/error/panicf.c')
-rw-r--r--sys/base/error/panicf.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/base/error/panicf.c b/sys/base/error/panicf.c
deleted file mode 100644
index d698576..0000000
--- a/sys/base/error/panicf.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "internal.h"
-
-void
-panicf(byte* fmt, ...)
-{
- va_list args;
- va_start(args, fmt);
-
- printf("panic: ");
- vprintf(fmt, args);
- printf("\n");
-
- va_end(args);
-
- exit(1);
-}