Skip to contentSkip to conversation

Fix log message

PATCH New Stefan Weil 1 participant 1 message Jul 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix log message

Hello,

this patch fixes a two debug messages (wrong function names). Please apply it to Qemu SVN trunk.

Regards
Stefan

pcnet.c +2 -2
Index: hw/pcnet.c
===================================================================
@@ -1939,7 +1939,7 @@
     PCNetState *d = (PCNetState *)pci_dev;
 
 #ifdef PCNET_DEBUG_IO
-    printf("pcnet_ioport_map addr=0x%08x 0x%08x\n", addr, size);
+    printf("pcnet_mmio_map addr=0x%08x 0x%08x\n", addr, size);
 #endif
 
     cpu_register_physical_memory(addr, PCNET_PNPMMIO_SIZE, d->mmio_index);
@@ -2034,7 +2034,7 @@
 
     val = pcnet_ioport_readw(opaque, addr & 7);
 #ifdef PCNET_DEBUG_IO
-    printf("pcnet_mmio_readw addr=" TARGET_FMT_plx " val = 0x%04x\n", addr,
+    printf("lance_mem_readw addr=" TARGET_FMT_plx " val = 0x%04x\n", addr,
            val & 0xffff);
 #endif