diff options
author | jkar8572 <jkar8572> | 2001-04-26 09:36:08 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-04-26 09:36:08 +0000 |
commit | 1090fd720f0c25b8e3e7e5e61e6a5fcebe9a10b1 (patch) | |
tree | bdd42ac5621a2cc6ebf68f9df928c2bbb90fe646 /quotacheck.c | |
parent | e574ec15bf971b92eadc72d08fdc925045933e43 (diff) |
Fixed underscore bug (Nathan Scott)
EOF -> -1 (Michael Meskes)
Diffstat (limited to 'quotacheck.c')
-rw-r--r-- | quotacheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quotacheck.c b/quotacheck.c index 0c2e46a..f1f02a8 100644 --- a/quotacheck.c +++ b/quotacheck.c @@ -8,7 +8,7 @@ * New quota format implementation - Jan Kara <jack@suse.cz> - Sponsored by SuSE CR */ -#ident "$Id: quotacheck.c,v 1.6 2001/04/25 14:16:44 jkar8572 Exp $" +#ident "$Id: quotacheck.c,v 1.7 2001/04/26 09:36:08 jkar8572 Exp $" #include <dirent.h> #include <stdio.h> @@ -281,7 +281,7 @@ static void parse_options(int argcnt, char **argstr) else slash = argstr[0]; - while ((ret = getopt(argcnt, argstr, "VhcvugidnfF:mMRa")) != EOF) { + while ((ret = getopt(argcnt, argstr, "VhcvugidnfF:mMRa")) != -1) { switch (ret) { case 'g': gwant = 1; |