summaryrefslogtreecommitdiffstats
path: root/usr.bin/look/look.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/look/look.c')
-rw-r--r--usr.bin/look/look.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/look/look.c b/usr.bin/look/look.c
index 86c66fee630..be81ee53d42 100644
--- a/usr.bin/look/look.c
+++ b/usr.bin/look/look.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: look.c,v 1.17 2015/10/07 14:13:23 deraadt Exp $ */
+/* $OpenBSD: look.c,v 1.18 2015/10/09 01:37:08 deraadt Exp $ */
/* $NetBSD: look.c,v 1.7 1995/08/31 22:41:02 jtc Exp $ */
/*-
@@ -88,8 +88,8 @@ main(int argc, char *argv[])
int ch, fd, termchar;
char *back, *file, *front, *string, *p;
- if (tame("stdio rpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
file = _PATH_WORDS;
termchar = '\0';