cvs commit: src/sys/bus/usb ehci.c ehci_pci.c ohci.c uhci.c uhub.c usb.c

Sascha Wildner saw at online.de
Fri May 23 04:35:53 PDT 2008


Michael Neumann wrote:
mneumann    2008/05/21 12:56:46 PDT

DragonFly src repository

  Modified files:
    sys/bus/usb          ehci.c ehci_pci.c ohci.c uhci.c uhub.c 
                         usb.c 
  Log:
  kprintf to device_printf conversion.
Michael,

is there a more elegant way than e.g. this change in usb.c, line 231:

-	kprintf("%s", device_get_nameunit(sc->sc_dev));
+	device_printf(sc->sc_dev, "");
It makes gcc complain about the empty format string.

Sascha

--
http://yoyodyne.ath.cx




More information about the Commits mailing list