summaryrefslogtreecommitdiff
path: root/src/kernel/task/idt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/task/idt.cpp')
-rw-r--r--src/kernel/task/idt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/task/idt.cpp b/src/kernel/task/idt.cpp
index 634350c..3d6d3cb 100644
--- a/src/kernel/task/idt.cpp
+++ b/src/kernel/task/idt.cpp
@@ -81,9 +81,9 @@ static struct irq_waiter {
extern "C" void idt_isrHandler(registers regs) {
if ((regs.int_no == 14 && paging_fault(&regs) != 0) || regs.int_no != 14) {
if (tasking_handleException(&regs) == 0) {
- ke_vt->writeStr("\nREALLY BAD THIS TIME\t\tUnhandled exception\t#");
- ke_vt->writeDec(regs.int_no);
- ke_vt->writeStr("\t@"); ke_vt->writeHex(regs.eip);
+ *ke_vt << "\nREALLY BAD THIS TIME\t\tUnhandled exception\t#";
+ *ke_vt << regs.int_no;
+ *ke_vt << "\t@" << regs.eip;
PANIC("Unhandled Exception");
}
}