From dc7a432b877222253fe02a332fba69d077eea8fe Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 21 Sep 2021 18:12:03 +0200 Subject: fix the assert kernel panic message --- src/kernel/panic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3