diff options
author | Zachary Yedidia <zyedidia@gmail.com> | 2022-05-19 17:15:38 -0700 |
---|---|---|
committer | Zachary Yedidia <zyedidia@gmail.com> | 2022-05-19 17:15:38 -0700 |
commit | 038765b999d408d112af6499dff17ea8c1685549 (patch) | |
tree | 45931eb8df0d209f68183d51d14d66b9aa2f678a | |
parent | a950066d8a800e78445d8b2b89e2cfa03bd808e1 (diff) |
Fix warning
-rw-r--r-- | hello_os/hello.c | 2 |
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; |