summaryrefslogtreecommitdiffstats
path: root/usr.bin/nl/nl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/nl/nl.c')
-rw-r--r--usr.bin/nl/nl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nl/nl.c b/usr.bin/nl/nl.c
index 59e3af8ba20..e4c1e2d6177 100644
--- a/usr.bin/nl/nl.c
+++ b/usr.bin/nl/nl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nl.c,v 1.5 2015/10/07 07:00:01 deraadt Exp $ */
+/* $OpenBSD: nl.c,v 1.6 2015/10/09 01:37:08 deraadt Exp $ */
/* $NetBSD: nl.c,v 1.11 2011/08/16 12:00:46 christos Exp $ */
/*-
@@ -118,8 +118,8 @@ main(int argc, char *argv[])
(void)setlocale(LC_ALL, "");
- if (tame("stdio rpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
while ((c = getopt(argc, argv, "pb:d:f:h:i:l:n:s:v:w:")) != -1) {
switch (c) {