PERFORCE change 98972 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sun Jun 11 08:13:38 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=98972

Change 98972 by hselasky at hselasky_mini_itx on 2006/06/11 08:10:48

	Bugfix: Make sure that the "ucom_open()" function does not return when "ttysleep()" times out.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/ucom.c#5 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/ucom.c#5 (text+ko) ====

@@ -262,7 +262,7 @@
 	 */
 	error = ttysleep(tp, tp, PCATCH | TTIPRI, "ucomsd", hz);
 
-	if (error) {
+	if (error && (error != EWOULDBLOCK)) {
 	    return error;
 	}
 


More information about the p4-projects mailing list