summaryrefslogtreecommitdiff
path: root/usr.bin/pr/pr.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pr/pr.c')
-rw-r--r--usr.bin/pr/pr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c
index a3ab9d8661e..950576e7ead 100644
--- a/usr.bin/pr/pr.c
+++ b/usr.bin/pr/pr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pr.c,v 1.37 2015/10/07 06:15:51 deraadt Exp $ */
+/* $OpenBSD: pr.c,v 1.38 2015/10/09 01:37:08 deraadt Exp $ */
/*-
* Copyright (c) 1991 Keith Muller.
@@ -140,8 +140,8 @@ main(int argc, char *argv[])
{
int ret_val;
- if (tame("stdio rpath", NULL) == -1)
- perror("tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ perror("pledge");
if (signal(SIGINT, SIG_IGN) != SIG_IGN)
(void)signal(SIGINT, terminate);