summaryrefslogtreecommitdiff
path: root/usr.bin/mg/ttyio.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-24 03:05:29 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-24 03:05:29 +0000
commit0630146c228b8ba11316c38fba0e53270064e2ae (patch)
tree837f20d9f80ab1bb97fa8f26aab6c5df362d40a3 /usr.bin/mg/ttyio.c
parent8d62d06e90311aab0fcc0e3574e76919c43dcc94 (diff)
spaces
Diffstat (limited to 'usr.bin/mg/ttyio.c')
-rw-r--r--usr.bin/mg/ttyio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/ttyio.c b/usr.bin/mg/ttyio.c
index 42b5967c03b..13d2c8ee23b 100644
--- a/usr.bin/mg/ttyio.c
+++ b/usr.bin/mg/ttyio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ttyio.c,v 1.15 2001/05/23 22:20:36 art Exp $ */
+/* $OpenBSD: ttyio.c,v 1.16 2001/05/24 03:05:27 mickey Exp $ */
/*
* POSIX terminal I/O.
@@ -40,7 +40,7 @@ ttopen()
{
if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO))
- panic("standard input and output must be a terminal");
+ panic("standard input and output must be a terminal");
if (ttraw() == FALSE)
panic("aborting due to terminal initialize failure");
@@ -223,7 +223,7 @@ ttwait(int msec)
fd_set readfds;
struct timeval tmout;
- FD_ZERO(&readfds);
+ FD_ZERO(&readfds);
FD_SET(0, &readfds);
tmout.tv_sec = msec/1000;