Skip to content

Commit

Permalink
fix(arch::x86_64): use PAddr debug formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jun 6, 2017
1 parent 22bcffd commit 7849c39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/arch/x86_64/mod.rs
Expand Up @@ -67,7 +67,6 @@ pub unsafe extern "C" fn long_mode_init() {
#[no_mangle]
pub extern "C" fn arch_init(multiboot_addr: PAddr) {
use cpu::{control_regs, msr};
use elf;
use params::{InitParams, mem};

kinfoln!(dots: " . ", "Beginning `arch_init()` for x86_64");
Expand All @@ -79,7 +78,7 @@ pub extern "C" fn arch_init(multiboot_addr: PAddr) {

// -- Unpack multiboot tag ------------------------------------------------
kinfoln!( dots: " . "
, "trying to unpack multiboot info at {:#p}"
, "trying to unpack multiboot info at {:?}"
, multiboot_addr);

// try to interpret the structure at the multiboot address as a multiboot
Expand Down

0 comments on commit 7849c39

Please sign in to comment.