aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ruptime
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-03-29 04:34:07 +0000
committerWarner Losh <imp@FreeBSD.org>1997-03-29 04:34:07 +0000
commit1c8af8787354e20c2b38cab5801698133ff8b403 (patch)
tree678b7641c05ca5dc27c06cac1210b2a7712335a9 /usr.bin/ruptime
parent8d64695c7c6791641c71b15441665bafc43c2bd0 (diff)
Notes
Diffstat (limited to 'usr.bin/ruptime')
-rw-r--r--usr.bin/ruptime/ruptime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c
index e4103d9e13f3..0acf722e8b20 100644
--- a/usr.bin/ruptime/ruptime.c
+++ b/usr.bin/ruptime/ruptime.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
-/* $Id$ */
+/* $Id: ruptime.c,v 1.9 1997/02/22 19:56:50 peter Exp $ */
#ifndef lint
static char copyright[] =
@@ -96,7 +96,7 @@ main(argc, argv)
aflg = 0;
cmp = hscmp;
- while ((ch = getopt(argc, argv, "alrut")) != EOF)
+ while ((ch = getopt(argc, argv, "alrut")) != -1)
switch (ch) {
case 'a':
aflg = 1;