summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/deroff/deroff.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/deroff/deroff.c b/usr.bin/deroff/deroff.c
index 78f62652d92..6b92034ed21 100644
--- a/usr.bin/deroff/deroff.c
+++ b/usr.bin/deroff/deroff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: deroff.c,v 1.11 2015/02/09 11:39:17 tedu Exp $ */
+/* $OpenBSD: deroff.c,v 1.12 2015/10/05 06:05:42 deraadt Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -260,6 +260,9 @@ main(int ac, char **av)
int errflg = 0;
int kflag = NO;
+ if (tame("stdio rpath", NULL) == -1)
+ err(1, "tame");
+
iflag = NO;
wordflag = NO;
msflag = NO;