summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mg/ttyio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/ttyio.c b/usr.bin/mg/ttyio.c
index 996c23d8895..c59dd3486bf 100644
--- a/usr.bin/mg/ttyio.c
+++ b/usr.bin/mg/ttyio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ttyio.c,v 1.20 2002/03/27 20:47:14 millert Exp $ */
+/* $OpenBSD: ttyio.c,v 1.21 2002/03/28 17:50:36 millert Exp $ */
/*
* POSIX terminal I/O.
@@ -148,6 +148,7 @@ ttflush()
buf += written;
nobuf -= written;
}
+ nobuf = 0;
}
/*