From b9544293e5d193e2968729585bcc294ae428d36a Mon Sep 17 00:00:00 2001 From: Julien CLEMENT Date: Tue, 20 Dec 2022 21:03:08 +0100 Subject: [PATCH] pretty print std identifier Signed-off-by: Julien CLEMENT --- src/fs/iso/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fs/iso/mod.rs b/src/fs/iso/mod.rs index 3b24bd3..b525f56 100644 --- a/src/fs/iso/mod.rs +++ b/src/fs/iso/mod.rs @@ -1,6 +1,6 @@ pub mod iso9660; -use crate::serial_println; +use crate::println; use crate::drivers::atapi::{DRIVE}; use crate::utils::unserialize; use iso9660::{IsoPrimVolDesc}; @@ -15,5 +15,5 @@ pub async fn init_prim_vol_desc() { .await; let prim_vol_desc: &IsoPrimVolDesc = unserialize::(desc_block.as_ptr()); - serial_println!("{:?}", prim_vol_desc.std_identifier); + println!("{:?}", alloc::string::String::from_utf8_lossy(&prim_vol_desc.std_identifier)); } \ No newline at end of file