From dcd28d5246eec562c195fba07c7bd4ce7b69c94b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 9 Jan 2021 14:06:32 +0100 Subject: Started new heap implementation (not working yet) --- libc/inc/assert.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/inc/assert.h') diff --git a/libc/inc/assert.h b/libc/inc/assert.h index 3e45f44..e42fc5a 100644 --- a/libc/inc/assert.h +++ b/libc/inc/assert.h @@ -9,7 +9,8 @@ #include <proc.h> #define assert(exp) \ if (!(exp)) { \ - printf("%s:%d: %s: Assertion '%s' failed\n", __FILE__, __LINE__, __func__, #exp); \ + printf("%s:%d: %s: Kernel assertion '%s' failed\n", __FILE__, __LINE__, __func__, \ + #exp); \ struct proc *assert_proc = proc_current(); \ if (assert_proc) \ proc_exit(assert_proc, 1); \ -- cgit v1.2.3