hw/char/pl011: Use '0x' prefix when logging hex numbers
commit76b09fafaf54051ccc0620169ae5b72c87f4f547
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:46 +0000 (21 18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:46 +0000 (21 18:17 +0000)
tree6c598ad2d09d107dd8f1de7f229cafd33d80b5a2
parenta3c1ca56c0a6ec368a7876f2331b037d066b0b27
hw/char/pl011: Use '0x' prefix when logging hex numbers

The pl011 logs when the guest makes a bad access. It prints
the address offset in hex but confusingly omits the '0x'
prefix; add it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/char/pl011.c