diff options
Diffstat (limited to 'usr.bin/chflags/chflags.c')
-rw-r--r-- | usr.bin/chflags/chflags.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/chflags/chflags.c b/usr.bin/chflags/chflags.c index c19c7e4..3ff36ef 100644 --- a/usr.bin/chflags/chflags.c +++ b/usr.bin/chflags/chflags.c @@ -56,8 +56,6 @@ static const char rcsid[] = #include <string.h> #include <unistd.h> -int setflags __P((char **, u_long *, u_long *)); - void usage __P((void)); int @@ -123,7 +121,7 @@ main(argc, argv) set = val; oct = 1; } else { - if (setflags(&flags, &set, &clear)) + if (strtofflags(&flags, &set, &clear)) errx(1, "invalid flag: %s", flags); clear = ~clear; oct = 0; |