diff options
author | dzwdz | 2022-10-19 15:17:36 +0200 |
---|---|---|
committer | dzwdz | 2022-10-19 15:17:36 +0200 |
commit | e4118bb67dee6b4064d196cbe6e1c83cb7d1d586 (patch) | |
tree | c19eae356e2437d779af176c855a4a2a0587ea26 /src/user/app/init/init.c | |
parent | d98c6dd0954bd753a9150d39364f3866579cf2f0 (diff) |
shared/printf: implement %p
Diffstat (limited to 'src/user/app/init/init.c')
-rw-r--r-- | src/user/app/init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c index 7e6ddab..5f275ee 100644 --- a/src/user/app/init/init.c +++ b/src/user/app/init/init.c @@ -37,7 +37,7 @@ int main(void) { freopen("/kdev/com1", "a+", stdout); freopen("/kdev/com1", "a+", stderr); - printf("in init (stage 2), main at 0x%x\n", &main); + printf("in init (stage 2), main at %p\n", &main); MOUNT_AT("/keyboard") { ps2_drv(); } MOUNT_AT("/bin/") { |