svn commit: r188292 - head/sys/dev/usb2/controller

Andrew Thompson thompsa at FreeBSD.org
Sat Feb 7 07:51:33 PST 2009


Author: thompsa
Date: Sat Feb  7 15:51:32 2009
New Revision: 188292
URL: http://svn.freebsd.org/changeset/base/188292

Log:
  Fix build, sigh.

Modified:
  head/sys/dev/usb2/controller/ehci2.c

Modified: head/sys/dev/usb2/controller/ehci2.c
==============================================================================
--- head/sys/dev/usb2/controller/ehci2.c	Sat Feb  7 15:51:21 2009	(r188291)
+++ head/sys/dev/usb2/controller/ehci2.c	Sat Feb  7 15:51:32 2009	(r188292)
@@ -262,7 +262,7 @@ ehci_init(ehci_softc_t *sc)
 	USB_BUS_UNLOCK(&sc->sc_bus);
 	if (err) {
 		device_printf(sc->sc_bus.bdev, "reset timeout\n");
-		return (error);
+		return (err);
 	}
 	/*
 	 * use current frame-list-size selection 0: 1024*4 bytes 1:  512*4


More information about the svn-src-all mailing list