diff options
author | Marvin Borner | 2021-03-20 21:55:52 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-20 21:55:52 +0100 |
commit | 535018ae7247ede06606e4d8aced2d12c761f28f (patch) | |
tree | 7713c8e02ca26b2a51370e26cbc2a37437c53179 /kernel/features/proc.c | |
parent | 5132bac014d63331acf61bb60b9254023f76b869 (diff) |
Reimplemented memory range validation
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index 5d3c8aa..ff4638b 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -144,7 +144,8 @@ void proc_exit(struct proc *proc, int status) current = NULL; if (res) - printf("Process %s exited with status %d (%s)\n", proc->name, status, + printf("Process %s (%d) exited with status %d (%s)\n", + proc->name[0] ? proc->name : "UNKNOWN", proc->pid, status, status == 0 ? "success" : "error"); virtual_destroy_dir(proc->page_dir); |