diff options
| author | Warner Losh <imp@FreeBSD.org> | 1997-08-29 05:30:15 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1997-08-29 05:30:15 +0000 |
| commit | 228f50a90c03088066d876b02657d89a13880757 (patch) | |
| tree | 7bc1b95dcd0b73ab85415f25c2a49a5db206286c /usr.bin/wall | |
| parent | 4a796f06acb443b965b3c5681305648088812d9c (diff) | |
Notes
Diffstat (limited to 'usr.bin/wall')
| -rw-r--r-- | usr.bin/wall/wall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 2391c901080e..2382598c127e 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: wall.c,v 1.3.2.1 1997/08/26 06:50:36 charnier Exp $"; #endif /* not lint */ /* @@ -87,7 +87,7 @@ main(argc, argv) char *p, *ttymsg(); char line[sizeof(utmp.ut_line) + 1]; - while ((ch = getopt(argc, argv, "n")) != EOF) + while ((ch = getopt(argc, argv, "n")) != -1) switch (ch) { case 'n': /* undoc option for shutdown: suppress banner */ |
