Skip to content

Commit 8b5fc53

Browse files
committed
use proper format specifier for pointer
1 parent 8971abe commit 8b5fc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/arch/x86/paging.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ class Page_table {
317317
auto* sub = page_dir(&ent);
318318
Expects(sub != nullptr);
319319
if (print) {
320-
printf("%.*s-+<%s> 0x%zx\n", print_lvl * 2, pad,
320+
printf("%.*s-+<%s> %p\n", print_lvl * 2, pad,
321321
util::Byte_r(page_size).to_string().c_str(), (void*)sub->start_addr());
322322
}
323323
sum += sub->summary(print, print_lvl + 1);

0 commit comments

Comments
 (0)