summaryrefslogtreecommitdiff
path: root/usr.bin/split/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/split/split.c')
-rw-r--r--usr.bin/split/split.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c
index d0306e57629..3183cbce7fa 100644
--- a/usr.bin/split/split.c
+++ b/usr.bin/split/split.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: split.c,v 1.19 2015/10/07 14:37:11 deraadt Exp $ */
+/* $OpenBSD: split.c,v 1.20 2015/10/09 01:37:08 deraadt Exp $ */
/* $NetBSD: split.c,v 1.5 1995/08/31 22:22:05 jtc Exp $ */
/*
@@ -68,8 +68,8 @@ main(int argc, char *argv[])
char *ep, *p;
const char *errstr;
- if (tame("stdio rpath wpath cpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ err(1, "pledge");
while ((ch = getopt(argc, argv, "0123456789a:b:l:p:-")) != -1)
switch (ch) {