DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Michael Neumann <mneumann@xxxxxxxx>
Date: Sat, 24 May 2008 11:59:45 +0200

Sascha Wildner wrote:
> Hasso Tepper wrote:
>> 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]);
>
> Yea that's what I meant in my second mail..


Thanks for committing it! I was being hold off by not being able to
recompile a recent kernel (and still not able due to panics).

Regards,

Michael



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]