diff options
Diffstat (limited to 'src/loader/inc/pnc.h')
-rw-r--r-- | src/loader/inc/pnc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loader/inc/pnc.h b/src/loader/inc/pnc.h index 3de3364..1630bd9 100644 --- a/src/loader/inc/pnc.h +++ b/src/loader/inc/pnc.h @@ -7,7 +7,7 @@ #define panic(reason) \ { \ - log("%s:%d: %s: Panic: %s\n", __FILE__, __LINE__, __func__, (reason)); \ + log("%s:%d: %s: Panic: %s", __FILE__, __LINE__, __func__, (reason)); \ while (1) \ __asm__ volatile("cli\nhlt"); \ } @@ -15,7 +15,7 @@ #define assert(exp) \ { \ if (!(exp)) \ - panic("Assertion '" #exp "' failed"); \ + panic("Assertion '" #exp "' failed\n"); \ } #endif |