rtl8139: use TARGET_FMT_plx in debug messages
authorBenjamin Poirier <benjamin.poirier@gmail.com>
Wed, 20 Apr 2011 23:39:00 +0000 (19:39 -0400)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 25 Apr 2011 20:17:47 +0000 (22:17 +0200)
commitc16f3763aef52a23b1207dd1fec9cac25817b503
treed204285b065a8a3aaa278cced6d7856296b77d47
parent3406e1a6d4fa5e27df32e686ff0695bde6c9cdf4
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>
hw/rtl8139.c