diff options
Diffstat (limited to 'bin/chflags')
-rw-r--r-- | bin/chflags/chflags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c index 7cca3eb..f33f46e 100644 --- a/bin/chflags/chflags.c +++ b/bin/chflags/chflags.c @@ -68,7 +68,7 @@ main(argc, argv) char *flags, *ep; Hflag = Lflag = Pflag = Rflag = 0; - while ((ch = getopt(argc, argv, "HLPR")) != EOF) + while ((ch = getopt(argc, argv, "HLPR")) != -1) switch (ch) { case 'H': Hflag = 1; |