summaryrefslogtreecommitdiff
path: root/usr.sbin/ac
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ac')
-rw-r--r--usr.sbin/ac/ac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c
index d1628e62b6f..3e9da2f9f5d 100644
--- a/usr.sbin/ac/ac.c
+++ b/usr.sbin/ac/ac.c
@@ -200,6 +200,9 @@ main(int argc, char *argv[])
FILE *fp;
int c;
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
+
fp = NULL;
while ((c = getopt(argc, argv, "Ddpt:w:")) != -1) {
switch (c) {