summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r--usr.bin/patch/patch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index 03afc4d8d36..ad477a2bd1e 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: patch.c,v 1.57 2015/10/04 18:11:22 deraadt Exp $ */
+/* $OpenBSD: patch.c,v 1.58 2015/10/07 06:29:26 deraadt Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -147,7 +147,7 @@ main(int argc, char *argv[])
const char *tmpdir;
char *v;
- if (tame("stdio rpath wpath cpath tmppath fattr", NULL) == -1)
+ if (tame("stdio rpath wpath cpath tmppath fattr proc exec", NULL) == -1)
perror("tame");
setvbuf(stdout, NULL, _IOLBF, 0);