aboutsummaryrefslogtreecommitdiff
path: root/contrib/elftoolchain/strings
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-04-17 16:18:14 +0000
committerEd Maste <emaste@FreeBSD.org>2019-04-17 16:18:14 +0000
commitd76eef3430e27ec08548476dc1c1dbfe7f63b1f4 (patch)
tree63fa25f2869b9ba1f42c8bf8103a80181aa7d9ec /contrib/elftoolchain/strings
parent7b558caee37422fcfa3842a1fdc8a838c0ccec8c (diff)
downloadsrc-d76eef3430e27ec08548476dc1c1dbfe7f63b1f4.tar.gz
src-d76eef3430e27ec08548476dc1c1dbfe7f63b1f4.zip
cap_fileargs: chase r346315, update fileargs_init in consumers
Reported by: ci.freebsd.org (8 times so far) MFC after: 3 weeks MFC with: r346315 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=346316
Diffstat (limited to 'contrib/elftoolchain/strings')
-rw-r--r--contrib/elftoolchain/strings/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/elftoolchain/strings/strings.c b/contrib/elftoolchain/strings/strings.c
index e89f90f3ef49..a84ff393e47d 100644
--- a/contrib/elftoolchain/strings/strings.c
+++ b/contrib/elftoolchain/strings/strings.c
@@ -195,7 +195,7 @@ main(int argc, char **argv)
argv += optind;
cap_rights_init(&rights, CAP_READ, CAP_SEEK, CAP_FSTAT, CAP_FCNTL);
- fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights);
+ fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights, FA_OPEN);
if (fa == NULL)
err(1, "Unable to initialize casper fileargs");