]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commitdiff
xhci: fix function name in error message
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Oct 2012 07:36:55 +0000 (09:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 12:35:39 +0000 (14:35 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c

index caa5f3e36a175f1c597f90ab247142aa2ada98a4..8345fa34a2458d98b913c6ba52237a7c5c5b9de7 100644 (file)
@@ -2676,7 +2676,7 @@ static void xhci_runtime_write(void *ptr, hwaddr reg,
     trace_usb_xhci_runtime_write(reg, val);
 
     if (reg < 0x20) {
-        fprintf(stderr, "xhci_oper_write: reg 0x%x unimplemented\n", (int)reg);
+        fprintf(stderr, "%s: reg 0x%x unimplemented\n", __func__, (int)reg);
         return;
     }