summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-08-06 18:58:13 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-08-06 18:23:17 +0000
commit1a9a5fc279aba2006ba415a31ef780026ea5d305 (patch)
tree493e2c8164b792443e17d1e85356dc984b559a0f /firmware/target
parentb8b195a2967428b390def196471fcfb78d527a87 (diff)
Fix wrong printf format in system-hosted.c
Change-Id: I73722f0711a295152a98ab784cd6cf76379ef52e
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/system-hosted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/system-hosted.c b/firmware/target/hosted/system-hosted.c
index a8b7dc82d3..ce47fd5f5c 100644
--- a/firmware/target/hosted/system-hosted.c
+++ b/firmware/target/hosted/system-hosted.c
@@ -67,7 +67,7 @@ static void sig_handler(int sig, siginfo_t *siginfo, void *context)
lcd_putsf(0, line++, "%s at %08x", strsignal(sig), pc);
if(sig == SIGILL || sig == SIGFPE || sig == SIGSEGV || sig == SIGBUS || sig == SIGTRAP)
- lcd_putsf(0, line++, "address 0x%08x", siginfo->si_addr);
+ lcd_putsf(0, line++, "address %p", siginfo->si_addr);
if(!triggered)
{