diff mbox series

hw/arm/nseries: Display hexadecimal value with '0x' prefix

Message ID 20210726150953.1218690-1-f4bug@amsat.org
State New
Headers show
Series hw/arm/nseries: Display hexadecimal value with '0x' prefix | expand

Commit Message

Philippe Mathieu-Daudé July 26, 2021, 3:09 p.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 hw/arm/nseries.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Henderson July 26, 2021, 5:15 p.m. UTC | #1
On 7/26/21 5:09 AM, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
> ---
>   hw/arm/nseries.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Peter Maydell July 27, 2021, 9:18 a.m. UTC | #2
On Mon, 26 Jul 2021 at 16:09, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/arm/nseries.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
> index 906c915df78..af3164c5519 100644
> --- a/hw/arm/nseries.c
> +++ b/hw/arm/nseries.c
> @@ -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;
>      }



Applied to target-arm.next, thanks.

-- PMM
diff mbox series

Patch

diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
index 906c915df78..af3164c5519 100644
--- a/hw/arm/nseries.c
+++ b/hw/arm/nseries.c
@@ -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;
     }