summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordzwdz2021-09-21 18:12:03 +0200
committerdzwdz2021-09-21 18:12:03 +0200
commitdc7a432b877222253fe02a332fba69d077eea8fe (patch)
tree4dbda6fe71b82f52a77ade6c7e95ad637791bbd7 /src
parent262311a02c4bcf001d1b2a4ce496a5a83ec4f9e1 (diff)
fix the assert kernel panic message
Diffstat (limited to 'src')
-rw-r--r--src/kernel/panic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h
index b62c630..738bff3 100644
--- a/src/kernel/panic.h
+++ b/src/kernel/panic.h
@@ -11,6 +11,6 @@
#define panic_invalid_state() _panic("invalid state")
#define panic_unimplemented() _panic("unimplemented")
-#define assert(stmt) do { if (!(stmt)) _panic(); } while (0)
+#define assert(stmt) do { if (!(stmt)) _panic("assert"); } while (0)
#undef panic