diff options
Diffstat (limited to 'pk/console.c')
-rw-r--r-- | pk/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pk/console.c b/pk/console.c index 69bb9e9..3920a51 100644 --- a/pk/console.c +++ b/pk/console.c @@ -1,6 +1,6 @@ #include "pk.h" #include "file.h" -#include "syscall.h" +#include "frontend.h" #include <stdint.h> #include <stdarg.h> #include <stdbool.h> @@ -138,7 +138,7 @@ void do_panic(const char* s, ...) va_start(vl, s); vprintk(s, vl); - sys_exit(-1); + die(-1); va_end(vl); } |