summaryrefslogtreecommitdiff
path: root/setquota.c
diff options
context:
space:
mode:
Diffstat (limited to 'setquota.c')
-rw-r--r--setquota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setquota.c b/setquota.c
index a08783a..4f27ca8 100644
--- a/setquota.c
+++ b/setquota.c
@@ -92,7 +92,7 @@ static void parse_options(int argcnt, char **argstr)
flags |= FL_RPC;
#endif
- while ((ret = getopt(argcnt, argstr, opts)) != EOF) {
+ while ((ret = getopt(argcnt, argstr, opts)) != -1) {
switch (ret) {
case '?':
case 'h':