diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-06 18:58:13 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-06 18:23:17 +0000 |
commit | 1a9a5fc279aba2006ba415a31ef780026ea5d305 (patch) | |
tree | 493e2c8164b792443e17d1e85356dc984b559a0f | |
parent | b8b195a2967428b390def196471fcfb78d527a87 (diff) | |
download | rockbox-1a9a5fc279aba2006ba415a31ef780026ea5d305.tar.gz rockbox-1a9a5fc279aba2006ba415a31ef780026ea5d305.zip |
Fix wrong printf format in system-hosted.c
Change-Id: I73722f0711a295152a98ab784cd6cf76379ef52e
-rw-r--r-- | firmware/target/hosted/system-hosted.c | 2 |
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) | |||
67 | lcd_putsf(0, line++, "%s at %08x", strsignal(sig), pc); | 67 | lcd_putsf(0, line++, "%s at %08x", strsignal(sig), pc); |
68 | 68 | ||
69 | if(sig == SIGILL || sig == SIGFPE || sig == SIGSEGV || sig == SIGBUS || sig == SIGTRAP) | 69 | if(sig == SIGILL || sig == SIGFPE || sig == SIGSEGV || sig == SIGBUS || sig == SIGTRAP) |
70 | lcd_putsf(0, line++, "address 0x%08x", siginfo->si_addr); | 70 | lcd_putsf(0, line++, "address %p", siginfo->si_addr); |
71 | 71 | ||
72 | if(!triggered) | 72 | if(!triggered) |
73 | { | 73 | { |