aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/interrupts/isr.c')
-rw-r--r--src/kernel/interrupts/isr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c
index 8bfb7bd..1ad5f67 100644
--- a/src/kernel/interrupts/isr.c
+++ b/src/kernel/interrupts/isr.c
@@ -126,7 +126,8 @@ void fault_handler(struct regs *r)
}
if (current_proc != NULL) {
- warn("%s: Halting process %d", message, current_proc->pid);
+ warn("%s: Suspending process %s with ID %d", message, current_proc->name,
+ current_proc->pid);
memcpy(&current_proc->registers, r, sizeof(struct regs));
process_suspend(current_proc->pid);
process_force_switch(r);