Browse Source

Small fix

luojia65 4 years ago
parent
commit
ca49b67faa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      platform/qemu/src/main.rs

+ 2 - 2
platform/qemu/src/main.rs

@@ -166,8 +166,8 @@ fn main() -> ! {
             }
             println!("");
         }
-        println!("[rustsbi] mideleg: {:016x}", mideleg::read().bits());
-        println!("[rustsbi] medeleg: {:016x}", medeleg::read().bits());
+        println!("[rustsbi] mideleg: {:#x}", mideleg::read().bits());
+        println!("[rustsbi] medeleg: {:#x}", medeleg::read().bits());
         println!("[rustsbi] Kernel entry: 0x80200000");
     }