diff options
author | Benjamin Poirier <benjamin.poirier@gmail.com> | 2011-04-20 19:39:00 -0400 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-25 22:17:47 +0200 |
commit | afcd9c0dcd1d6ab14a72db6abde76142c6a0ac12 (patch) | |
tree | d204285b065a8a3aaa278cced6d7856296b77d47 /hw/serial.c | |
parent | 7cb4db8f41d20d2c9d9c9a6830a362eebaeb42ed (diff) |
rtl8139: use TARGET_FMT_plx in debug messages
Prevents a compilation failure when DEBUG_RTL8139 is defined:
CC libhw32/rtl8139.o
cc1: warnings being treated as errors
hw/rtl8139.c: In function ‘rtl8139_cplus_transmit_one’:
hw/rtl8139.c:1960: error: format ‘%8lx’ expects type ‘long unsigned int’, but argument 5 has type ‘target_phys_addr_t’
make[1]: *** [rtl8139.o] Error 1
Signed-off-by: Benjamin Poirier <benjamin.poirier@gmail.com>
Cc: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/serial.c')
0 files changed, 0 insertions, 0 deletions