aboutsummaryrefslogtreecommitdiff
path: root/src/panic_wait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/panic_wait.rs')
-rw-r--r--src/panic_wait.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panic_wait.rs b/src/panic_wait.rs
index 53998a0..a8d0962 100644
--- a/src/panic_wait.rs
+++ b/src/panic_wait.rs
@@ -2,7 +2,7 @@
//!
//! A panic handler that infinitely waits
-use crate::{cpu, println};
+use crate::{cpu, serial_println};
use core::panic::PanicInfo;
/// # Prevent Double Faulting
@@ -34,7 +34,7 @@ fn panic(info: &PanicInfo) -> ! {
_ => ("???", 0, 0),
};
- println!(
+ serial_println!(
"Kernel panic!\n\nPanic Location:\n\tFile: '{}', line {}, column {}\n\n{}",
location,
line,