diff options
Diffstat (limited to 'misc-utils/mcookie.c')
-rw-r--r-- | misc-utils/mcookie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c index 6930745b2..e550bec6a 100644 --- a/misc-utils/mcookie.c +++ b/misc-utils/mcookie.c @@ -90,7 +90,7 @@ int main( int argc, char **argv ) bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - while ((c = getopt( argc, argv, "vf:" )) != EOF) + while ((c = getopt( argc, argv, "vf:" )) != -1) switch (c) { case 'v': ++Verbose; break; case 'f': file = optarg; break; |