summaryrefslogtreecommitdiffstats
path: root/usr.bin/lam/lam.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/lam/lam.c')
-rw-r--r--usr.bin/lam/lam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/lam/lam.c b/usr.bin/lam/lam.c
index 1f10025d6d3..a2a70e9747c 100644
--- a/usr.bin/lam/lam.c
+++ b/usr.bin/lam/lam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lam.c,v 1.18 2015/10/07 04:03:57 deraadt Exp $ */
+/* $OpenBSD: lam.c,v 1.19 2015/10/09 01:37:08 deraadt Exp $ */
/* $NetBSD: lam.c,v 1.2 1994/11/14 20:27:42 jtc Exp $ */
/*-
@@ -71,8 +71,8 @@ main(int argc, char *argv[])
{
int i;
- if (tame("stdio rpath", NULL) == -1)
- err(1, "tame");
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
/* Process arguments, set numfiles to file argument count. */
getargs(argc, argv);