diff options
Diffstat (limited to 'src/usr.bin/lam')
-rw-r--r-- | src/usr.bin/lam/lam.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr.bin/lam/lam.c b/src/usr.bin/lam/lam.c index 268998e..ecc1d4a 100644 --- a/src/usr.bin/lam/lam.c +++ b/src/usr.bin/lam/lam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lam.c,v 1.17 2015/01/16 06:40:09 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,6 +71,9 @@ main(int argc, char *argv[]) { int i; + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); + /* Process arguments, set numfiles to file argument count. */ getargs(argc, argv); if (numfiles == 0) |