[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 08/16] linux-user, trivial: display "0x%x" instead of
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 08/16] linux-user, trivial: display "0x%x" instead of "0x%d" |
Date: |
Tue, 13 Sep 2016 19:04:47 +0300 |
From: Laurent Vivier <address@hidden>
Display an exception number, generally defined as an hexadecimal
number (for instance, EXCP_HLT is 0x10001).
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Acked-by: Riku Voipio <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
linux-user/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 6004ece..3ad70f8 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -2030,7 +2030,7 @@ void cpu_loop(CPUPPCState *env)
/* just indicate that signals should be handled asap */
break;
default:
- cpu_abort(cs, "Unknown exception 0x%d. Aborting\n", trapnr);
+ cpu_abort(cs, "Unknown exception 0x%x. Aborting\n", trapnr);
break;
}
process_pending_signals(env);
--
2.1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PULL 08/16] linux-user, trivial: display "0x%x" instead of "0x%d",
Michael Tokarev <=