diff options
author | Marvin Borner | 2021-07-06 22:07:04 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-06 22:07:04 +0200 |
commit | b2880945ae17ad857bd425540acd3dc75b2cff6b (patch) | |
tree | f5dea0028fb5e2b9072aa15f60c497bc7e20d13b /src/loader/inc/pnc.h | |
parent | 23aa6f84539ba320a91235fb81681d0754178f62 (diff) |
Basic multiboot 1 detection and verification
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 |