summaryrefslogtreecommitdiffstats
path: root/usr.bin/rev/rev.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-10-09 01:37:06 +0000
committerderaadt <deraadt@openbsd.org>2015-10-09 01:37:06 +0000
commit0bd1216cbfac4316d823b5f086842b66ddea2018 (patch)
treefd4a00b7f31d65ad01880d2fd2d63c87485cacec /usr.bin/rev/rev.c
parenttame -> pledge. (diff)
downloadwireguard-openbsd-0bd1216cbfac4316d823b5f086842b66ddea2018.tar.xz
wireguard-openbsd-0bd1216cbfac4316d823b5f086842b66ddea2018.zip
Change all tame callers to namechange to pledge(2).
Diffstat (limited to 'usr.bin/rev/rev.c')
-rw-r--r--usr.bin/rev/rev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rev/rev.c b/usr.bin/rev/rev.c
index c24980b3945..abcfcff1581 100644
--- a/usr.bin/rev/rev.c
+++ b/usr.bin/rev/rev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rev.c,v 1.11 2015/10/07 06:18:00 deraadt Exp $ */
+/* $OpenBSD: rev.c,v 1.12 2015/10/09 01:37:08 deraadt Exp $ */
/* $NetBSD: rev.c,v 1.5 1995/09/28 08:49:40 tls Exp $ */
/*-
@@ -49,8 +49,8 @@ main(int argc, char *argv[])
size_t len;
int ch, rval;
- if (tame("stdio rpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
while ((ch = getopt(argc, argv, "")) != -1)
switch(ch) {