summaryrefslogtreecommitdiff
path: root/quotacheck.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 /quotacheck.c
parente574ec15bf971b92eadc72d08fdc925045933e43 (diff)
Fixed underscore bug (Nathan Scott)
EOF -> -1 (Michael Meskes)
Diffstat (limited to 'quotacheck.c')
-rw-r--r--quotacheck.c4
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;