kernel/usb4bsd: Use the standard __func__ for function names.
authorSascha Wildner <saw@online.de>
Wed, 19 Feb 2014 08:34:19 +0000 (09:34 +0100)
committerSascha Wildner <saw@online.de>
Wed, 19 Feb 2014 08:34:19 +0000 (09:34 +0100)
sys/bus/u4b/controller/xhci.c
sys/bus/u4b/usb_dev.c

index 10d2e35..b076ebc 100644 (file)
@@ -1598,17 +1598,17 @@ xhci_interrupt(struct xhci_softc *sc)
 
                if (status & XHCI_STS_HCH) {
                        kprintf("%s: host controller halted\n",
-                           __FUNCTION__);
+                           __func__);
                }
 
                if (status & XHCI_STS_HSE) {
                        kprintf("%s: host system error\n",
-                           __FUNCTION__);
+                           __func__);
                }
 
                if (status & XHCI_STS_HCE) {
                        kprintf("%s: host controller error\n",
-                          __FUNCTION__);
+                          __func__);
                }
        }
 done:
index f1939de..99d3c46 100644 (file)
@@ -908,7 +908,7 @@ usb_open(struct dev_open_args *ap)
        usb_unref_device(cpd, &refs);
        err = devfs_set_cdevpriv(ap->a_fp, cpd, usb_cdevpriv_dtor);
        if(err) {
-               DPRINTFN(2, "devfs_set_cdevpriv failed in %s\n", __FUNCTION__);
+               DPRINTFN(2, "devfs_set_cdevpriv failed in %s\n", __func__);
                kfree(cpd, M_USBDEV);
                return(err);
        }