« Previous | Next » 

Revision afcd9c0d

IDafcd9c0dcd1d6ab14a72db6abde76142c6a0ac12

Added by Benjamin Poirier about 13 years ago

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’
make1: *** [rtl8139.o] Error 1

Signed-off-by: Benjamin Poirier <>
Cc: Igor V. Kovalenko <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences