hw/arm/nseries: Display hexadecimal value with '0x' prefix
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 26 Jul 2021 15:09:53 +0000 (17:09 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Jul 2021 09:57:40 +0000 (10:57 +0100)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210726150953.1218690-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/nseries.c

index 906c915df7847b445ea7a2d9df757f27e8e95ac0..af3164c5519ec9991cf4d9a8ea9ca0da5478ff01 100644 (file)
@@ -692,7 +692,7 @@ static uint32_t mipid_txrx(void *opaque, uint32_t cmd, int len)
     default:
     bad_cmd:
         qemu_log_mask(LOG_GUEST_ERROR,
-                      "%s: unknown command %02x\n", __func__, s->cmd);
+                      "%s: unknown command 0x%02x\n", __func__, s->cmd);
         break;
     }