summaryrefslogtreecommitdiff
path: root/src/user/app/init/init.c
diff options
context:
space:
mode:
authordzwdz2022-10-19 15:17:36 +0200
committerdzwdz2022-10-19 15:17:36 +0200
commite4118bb67dee6b4064d196cbe6e1c83cb7d1d586 (patch)
treec19eae356e2437d779af176c855a4a2a0587ea26 /src/user/app/init/init.c
parentd98c6dd0954bd753a9150d39364f3866579cf2f0 (diff)
shared/printf: implement %p
Diffstat (limited to 'src/user/app/init/init.c')
-rw-r--r--src/user/app/init/init.c2
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/") {