summaryrefslogtreecommitdiff
path: root/src/user/app/tests
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/tests
parentd98c6dd0954bd753a9150d39364f3866579cf2f0 (diff)
shared/printf: implement %p
Diffstat (limited to 'src/user/app/tests')
-rw-r--r--src/user/app/tests/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/tests/tests.c b/src/user/app/tests/tests.c
index e4b4d37..90a4978 100644
--- a/src/user/app/tests/tests.c
+++ b/src/user/app/tests/tests.c
@@ -14,7 +14,7 @@ void run_test(void (*fn)()) {
} else {
/* successful tests must return 0 */
if (_syscall_await() != 0) {
- test_failf("0x%x, base 0x%x", (void*)fn - (void*)_image_base, _image_base);
+ test_failf("%p, base %p", (void*)fn - (void*)_image_base, _image_base);
}
}
}