diff options
Diffstat (limited to 'usr.bin/mesg')
-rw-r--r-- | usr.bin/mesg/mesg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mesg/mesg.c b/usr.bin/mesg/mesg.c index ad666f7..96906c6 100644 --- a/usr.bin/mesg/mesg.c +++ b/usr.bin/mesg/mesg.c @@ -65,7 +65,7 @@ main(argc, argv) char *tty; int ch; - while ((ch = getopt(argc, argv, "")) != EOF) + while ((ch = getopt(argc, argv, "")) != -1) switch (ch) { case '?': default: |