summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff3/diff3prog.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/diff3/diff3prog.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/diff3/diff3prog.c')
-rw-r--r--usr.bin/diff3/diff3prog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/diff3/diff3prog.c b/usr.bin/diff3/diff3prog.c
index 921da78a548..b928b062167 100644
--- a/usr.bin/diff3/diff3prog.c
+++ b/usr.bin/diff3/diff3prog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff3prog.c,v 1.16 2015/10/05 13:30:30 deraadt Exp $ */
+/* $OpenBSD: diff3prog.c,v 1.17 2015/10/09 01:37:07 deraadt Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -145,8 +145,8 @@ main(int argc, char **argv)
{
int ch, i, m, n;
- if (tame("stdio rpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
eflag = 0;
oflag = 0;