summaryrefslogtreecommitdiffstats
path: root/usr.bin/quota/quota.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/quota/quota.c')
-rw-r--r--usr.bin/quota/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c
index a54c957..77a165c 100644
--- a/usr.bin/quota/quota.c
+++ b/usr.bin/quota/quota.c
@@ -116,7 +116,7 @@ main(argc, argv)
extern char *optarg;
extern int optind, errno;
- while ((ch = getopt(argc, argv, "ugvq")) != EOF) {
+ while ((ch = getopt(argc, argv, "ugvq")) != -1) {
switch(ch) {
case 'g':
gflag++;
OpenPOWER on IntegriCloud