summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Yedidia <zyedidia@gmail.com>2022-05-19 17:15:38 -0700
committerZachary Yedidia <zyedidia@gmail.com>2022-05-19 17:15:38 -0700
commit038765b999d408d112af6499dff17ea8c1685549 (patch)
tree45931eb8df0d209f68183d51d14d66b9aa2f678a
parenta950066d8a800e78445d8b2b89e2cfa03bd808e1 (diff)
Fix warning
-rw-r--r--hello_os/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hello_os/hello.c b/hello_os/hello.c
index 74d0079..6cf105b 100644
--- a/hello_os/hello.c
+++ b/hello_os/hello.c
@@ -20,7 +20,7 @@ unsigned main() {
printf("My stack appears to be at %x\n", sp);
volatile unsigned *ker_val = (void*)0x80000005;
- printf("Trying to access a kernel byte at 0x%x...\n", ker_val);
+ printf("Trying to access a kernel byte at 0x%p...\n", ker_val);
printf("Value: %x\n", *ker_val);
return 24;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback