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: Sascha Wildner <saw@xxxxxxxxx>
Date: Fri, 23 May 2008 13:41:10 +0200

Sascha Wildner wrote:
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.

I guess you should just get the revision first and then device_printf() it after that.


Sascha

--
http://yoyodyne.ath.cx



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