summaryrefslogtreecommitdiffstats
path: root/sbin/dset/dset.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dset/dset.c')
-rw-r--r--sbin/dset/dset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dset/dset.c b/sbin/dset/dset.c
index 4347797..7905619 100644
--- a/sbin/dset/dset.c
+++ b/sbin/dset/dset.c
@@ -114,7 +114,7 @@ main(ac, av)
int testonly = FALSE;
int verbose = FALSE;
- while ((ch = getopt(ac, av, "qtv")) != EOF)
+ while ((ch = getopt(ac, av, "qtv")) != -1)
switch (ch) {
case 'q':
quiet = TRUE;
OpenPOWER on IntegriCloud