diff options
Diffstat (limited to 'usr.bin/head')
-rw-r--r-- | usr.bin/head/head.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/head/head.c b/usr.bin/head/head.c index a27acea565a0..a06899f1ddd2 100644 --- a/usr.bin/head/head.c +++ b/usr.bin/head/head.c @@ -115,7 +115,7 @@ main(int argc, char *argv[]) argv += optind; fa = fileargs_init(argc, argv, O_RDONLY, 0, - cap_rights_init(&rights, CAP_READ, CAP_FSTAT, CAP_FCNTL)); + cap_rights_init(&rights, CAP_READ, CAP_FSTAT, CAP_FCNTL), FA_OPEN); if (fa == NULL) errx(1, "unable to init casper"); |