summaryrefslogtreecommitdiff
path: root/usr.bin/unifdef/unifdef.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-09 01:37:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-09 01:37:11 +0000
commit7a01108f60e58c5683c269bbbb884090b5a0620f (patch)
treed28dc1713411066fb4ced6b7bb3fe35eb3a43955 /usr.bin/unifdef/unifdef.c
parent76228dc5f1e37f76feb11003febafceed8e121f0 (diff)
Change all tame callers to namechange to pledge(2).
Diffstat (limited to 'usr.bin/unifdef/unifdef.c')
-rw-r--r--usr.bin/unifdef/unifdef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/unifdef/unifdef.c b/usr.bin/unifdef/unifdef.c
index 4a08dc2d764..13b871b3917 100644
--- a/usr.bin/unifdef/unifdef.c
+++ b/usr.bin/unifdef/unifdef.c
@@ -265,8 +265,8 @@ main(int argc, char *argv[])
const char *errstr;
int opt;
- if (tame("stdio rpath wpath cpath fattr", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath wpath cpath fattr", NULL) == -1)
+ err(1, "pledge");
while ((opt = getopt(argc, argv, "i:D:U:f:I:M:o:x:bBcdehKklmnsStV")) != -1)
switch (opt) {