From 1090fd720f0c25b8e3e7e5e61e6a5fcebe9a10b1 Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Thu, 26 Apr 2001 09:36:08 +0000 Subject: Fixed underscore bug (Nathan Scott) EOF -> -1 (Michael Meskes) --- setquota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setquota.c') 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': -- cgit v1.2.3