summaryrefslogtreecommitdiffstats
path: root/usr.bin/banner/banner.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/banner/banner.c')
-rw-r--r--usr.bin/banner/banner.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/banner/banner.c b/usr.bin/banner/banner.c
index e1c450c4644..9fb80f426d4 100644
--- a/usr.bin/banner/banner.c
+++ b/usr.bin/banner/banner.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: banner.c,v 1.10 2015/10/05 05:33:29 deraadt Exp $ */
+/* $OpenBSD: banner.c,v 1.11 2015/10/09 01:37:06 deraadt Exp $ */
/* $NetBSD: banner.c,v 1.2 1995/04/09 06:00:15 cgd Exp $ */
/*
@@ -153,8 +153,8 @@ main(int argc, char *argv[])
{
char word[10+1]; /* strings limited to 10 chars */
- if (tame("stdio", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio", NULL) == -1)
+ err(1, "pledge");
while (*++argv) {
(void)strlcpy(word, *argv, sizeof (word));
scan_out(1, word, '\0');