From e4118bb67dee6b4064d196cbe6e1c83cb7d1d586 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 19 Oct 2022 15:17:36 +0200 Subject: shared/printf: implement %p --- src/user/lib/_start2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/lib/_start2.c') diff --git a/src/user/lib/_start2.c b/src/user/lib/_start2.c index 0582dde..ba3b6b0 100644 --- a/src/user/lib/_start2.c +++ b/src/user/lib/_start2.c @@ -24,7 +24,7 @@ _Noreturn void _start2(struct execdata *ed) { progname = shortname(ed->argv[0]); setprogname(progname); - _klogf("_start2 %s 0x%x", progname, _image_base); + _klogf("_start2 %s %p", progname, _image_base); exit(main(ed->argc, ed->argv, ed->envp)); } -- cgit v1.2.3