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 /quotaon.c | |
parent | e574ec15bf971b92eadc72d08fdc925045933e43 (diff) |
Fixed underscore bug (Nathan Scott)
EOF -> -1 (Michael Meskes)
Diffstat (limited to 'quotaon.c')
-rw-r--r-- | quotaon.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,7 +34,7 @@ #ident "$Copyright: (c) 1980, 1990 Regents of the University of California $" #ident "$Copyright: All rights reserved. $" -#ident "$Id: quotaon.c,v 1.2 2001/04/11 10:12:36 jkar8572 Exp $" +#ident "$Id: quotaon.c,v 1.3 2001/04/26 09:36:08 jkar8572 Exp $" /* * Turn quota on/off for a filesystem. @@ -123,7 +123,7 @@ int main(int argc, char **argv) else if (strcmp(whoami, "quotaon") != 0) die(1, _("Name must be quotaon or quotaoff not %s\n"), whoami); - while ((c = getopt(argc, argv, "afvugx:V")) != EOF) { + while ((c = getopt(argc, argv, "afvugx:V")) != -1) { switch (c) { case 'a': aflag++; |