summaryrefslogtreecommitdiffstats
path: root/usr.bin/what/what.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/what/what.c')
-rw-r--r--usr.bin/what/what.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/what/what.c b/usr.bin/what/what.c
index 7442b26288c..d22d67387b0 100644
--- a/usr.bin/what/what.c
+++ b/usr.bin/what/what.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: what.c,v 1.14 2015/10/06 13:47:08 deraadt Exp $ */
+/* $OpenBSD: what.c,v 1.15 2015/10/09 01:37:09 deraadt Exp $ */
/* $NetBSD: what.c,v 1.4 1994/12/20 16:01:03 jtc Exp $ */
/*
@@ -58,8 +58,8 @@ main(int argc, char *argv[])
char match[256];
int c;
- if (tame("stdio rpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
matches = sflag = 0;
while ((c = getopt(argc, argv, "s")) != -1) {