aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/nfsstat
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/nfsstat
parent8d64695c7c6791641c71b15441665bafc43c2bd0 (diff)
Notes
Diffstat (limited to 'usr.bin/nfsstat')
-rw-r--r--usr.bin/nfsstat/nfsstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index db2fab4e79b4..a53991a2a2f7 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -43,7 +43,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "From: @(#)nfsstat.c 8.1 (Berkeley) 6/6/93";*/
static const char rcsid[] =
- "$Id$";
+ "$Id: nfsstat.c,v 1.8 1997/02/22 19:56:25 peter Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -93,7 +93,7 @@ main(argc, argv)
interval = 0;
memf = nlistf = NULL;
- while ((ch = getopt(argc, argv, "M:N:w:")) != EOF)
+ while ((ch = getopt(argc, argv, "M:N:w:")) != -1)
switch(ch) {
case 'M':
memf = optarg;