summaryrefslogtreecommitdiff
path: root/usr.bin/vi
diff options
context:
space:
mode:
authorAnthony J. Bentley <bentley@cvs.openbsd.org>2015-11-19 19:30:45 +0000
committerAnthony J. Bentley <bentley@cvs.openbsd.org>2015-11-19 19:30:45 +0000
commit0a72cacc131f9d67fa5f70c18e7adef854332882 (patch)
tree911963c27639d8d3d3d73f7d925b591885bbd92b /usr.bin/vi
parent15134d1bb1dd1013fae592c5e27e1c7d7f01503b (diff)
"tty proc exec", not "proc exec tty"
Diffstat (limited to 'usr.bin/vi')
-rw-r--r--usr.bin/vi/common/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/main.c b/usr.bin/vi/common/main.c
index 2c54b8d278d..7f8921b8bb7 100644
--- a/usr.bin/vi/common/main.c
+++ b/usr.bin/vi/common/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.28 2015/11/15 01:22:36 bentley Exp $ */
+/* $OpenBSD: main.c,v 1.29 2015/11/19 19:30:44 bentley Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -55,7 +55,7 @@ editor(GS *gp, int argc, char *argv[])
int ch, flagchk, lflag, secure, startup, readonly, rval, silent;
char *tag_f, *wsizearg, path[256];
- if (pledge("stdio rpath wpath cpath fattr flock getpw proc exec tty", NULL) == -1) {
+ if (pledge("stdio rpath wpath cpath fattr flock getpw tty proc exec", NULL) == -1) {
perror("pledge");
goto err;
}