PERFORCE change 150159 for review

Ed Schouten ed at FreeBSD.org
Sat Sep 20 10:03:17 UTC 2008


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

Change 150159 by ed at ed_dull on 2008/09/20 10:02:40

	Small mixup: we should only call outwakeup() when there's data
	to be getc'd, not rinted.

Affected files ...

.. //depot/projects/mpsafetty/sys/sys/ttydevsw.h#9 edit

Differences ...

==== //depot/projects/mpsafetty/sys/sys/ttydevsw.h#9 (text+ko) ====

@@ -95,7 +95,7 @@
 	MPASS(!tty_gone(tp));
 
 	/* Prevent spurious wakeups. */
-	if (ttydisc_rint_poll(tp) == 0)
+	if (ttydisc_getc_poll(tp) == 0)
 		return;
 
 	tp->t_devsw->tsw_outwakeup(tp);


More information about the p4-projects mailing list