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/app/tests/tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/app/tests/tests.c') 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); } } } -- cgit v1.2.3