summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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