summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/dev/spif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/spif.c')
-rw-r--r--sys/arch/sparc/dev/spif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/spif.c b/sys/arch/sparc/dev/spif.c
index 4102f97246b..2df4e24a932 100644
--- a/sys/arch/sparc/dev/spif.c
+++ b/sys/arch/sparc/dev/spif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spif.c,v 1.21 2009/04/10 20:53:51 miod Exp $ */
+/* $OpenBSD: spif.c,v 1.22 2009/10/31 06:40:16 deraadt Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -682,6 +682,7 @@ stty_start(tp)
wakeup(&tp->t_outq);
}
selwakeup(&tp->t_wsel);
+ KNOTE(&tp->t_wsel.si_note, 0);
}
if (tp->t_outq.c_cc) {
sp->sp_txc = ndqb(&tp->t_outq, 0);