summaryrefslogtreecommitdiffstats
path: root/usr.bin/nfsstat/nfsstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/nfsstat/nfsstat.c')
-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 db2fab4..a53991a 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;
OpenPOWER on IntegriCloud