diff options
author | dzwdz | 2021-09-19 21:39:06 +0200 |
---|---|---|
committer | dzwdz | 2021-09-19 21:39:06 +0200 |
commit | 9a93ed59ce8e9311dd29e148048c6c20ba54388c (patch) | |
tree | 90236cb828af97282f99efd22946752242bdad59 /src/kernel/proc.c | |
parent | 388151741be9622a80a8161dd2cbea1be8bd18a2 (diff) |
show the malloc balance on halt; remove a bad kfree() call
the kfree() call was freeing a buffer which was inside a process struct
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r-- | src/kernel/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c index 9a38881..39b4fb0 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -66,7 +66,7 @@ _Noreturn void process_switch_any(void) { if (found) process_switch(found); - tty_const(" no running processes left..."); + mem_debugprint(); panic(); } |