summaryrefslogtreecommitdiffstats
path: root/usr.sbin/repquota/repquota.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/repquota/repquota.c')
-rw-r--r--usr.sbin/repquota/repquota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c
index ca897a7..e8d590e 100644
--- a/usr.sbin/repquota/repquota.c
+++ b/usr.sbin/repquota/repquota.c
@@ -88,7 +88,7 @@ main(argc, argv)
extern int optind;
char ch, *qfnp;
- while ((ch = getopt(argc, argv, "aguv")) != EOF) {
+ while ((ch = getopt(argc, argv, "aguv")) != -1) {
switch(ch) {
case 'a':
aflag++;
OpenPOWER on IntegriCloud