PERFORCE change 160614 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Apr 14 06:26:36 PDT 2009
http://perforce.freebsd.org/chv.cgi?CH=160614
Change 160614 by hselasky at hselasky_laptop001 on 2009/04/14 13:26:19
USB core: Fix errornous printout.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb_device.c#24 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb_device.c#24 (text+ko) ====
@@ -1111,7 +1111,8 @@
if (udev->flags.suspended) {
err = DEVICE_SUSPEND(iface->subdev);
- device_printf(iface->subdev, "Suspend failed\n");
+ if (err)
+ device_printf(iface->subdev, "Suspend failed\n");
}
return (0); /* success */
} else {
More information about the p4-projects
mailing list