summaryrefslogtreecommitdiffstats
path: root/usr.bin/cal/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cal/cal.c')
-rw-r--r--usr.bin/cal/cal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cal/cal.c b/usr.bin/cal/cal.c
index 017f0addf5e..a4655bd579e 100644
--- a/usr.bin/cal/cal.c
+++ b/usr.bin/cal/cal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cal.c,v 1.29 2015/10/05 13:30:30 deraadt Exp $ */
+/* $OpenBSD: cal.c,v 1.30 2015/10/09 01:37:06 deraadt Exp $ */
/* $NetBSD: cal.c,v 1.6 1995/03/26 03:10:24 glass Exp $ */
/*
@@ -150,8 +150,8 @@ main(int argc, char *argv[])
int ch, month, year, yflag;
const char *errstr;
- if (tame("stdio", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio", NULL) == -1)
+ err(1, "pledge");
yflag = year = 0;
while ((ch = getopt(argc, argv, "jmwy")) != -1)