summaryrefslogtreecommitdiff
path: root/setquota.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-04-26 09:36:08 +0000
committerjkar8572 <jkar8572>2001-04-26 09:36:08 +0000
commit1090fd720f0c25b8e3e7e5e61e6a5fcebe9a10b1 (patch)
treebdd42ac5621a2cc6ebf68f9df928c2bbb90fe646 /setquota.c
parente574ec15bf971b92eadc72d08fdc925045933e43 (diff)
Fixed underscore bug (Nathan Scott)
EOF -> -1 (Michael Meskes)
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':