refactor: make pci device driver loading passive, pci bus scanner will not load them...
[lunaix-os.git] / lunaix-os / arch / i386 / exceptions / intr_routines.c
index d0b0d492915043264a0e54827a3eb012c47cc588..77a13722f0373a61b15d5c00d83263c5f88b7de0 100644 (file)
@@ -8,7 +8,7 @@
 #include <lunaix/syslog.h>
 #include <lunaix/trace.h>
 
-#include <klibc/stdio.h>
+#include <klibc/strfmt.h>
 
 #include <sys/apic.h>
 #include <sys/i386_intr.h>
@@ -23,7 +23,7 @@ extern u32_t debug_resv;
 void
 __print_panic_msg(const char* msg, const isr_param* param)
 {
-    kprintf(KERROR "panic: %s\n", msg);
+    ERROR("panic: %s", msg);
     trace_printstack_isr(param);
 }