cvs commit: src/sys/bus/usb ehci.c ehci_pci.c ohci.c uhci.c uhub.c usb.c
Hasso Tepper
hasso at estpak.ee
Fri May 23 05:36:58 PDT 2008
Sascha Wildner wrote:
> 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.
- device_printf(sc->sc_dev, "");
usbrev = sc->sc_bus->usbrev;
- kprintf("USB revision %s", usbrev_str[usbrev]);
+ device_printf(sc->sc_dev, "USB revision %s", usbrev_str[usbrev]);
--
Hasso Tepper
More information about the Commits
mailing list