summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi/common/main.c')
-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 0d3b84726b3..2c54b8d278d 100644
--- a/usr.bin/vi/common/main.c
+++ b/usr.bin/vi/common/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.27 2015/11/15 00:44:03 bentley Exp $ */
+/* $OpenBSD: main.c,v 1.28 2015/11/15 01:22:36 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 getpw proc exec tty", NULL) == -1) {
+ if (pledge("stdio rpath wpath cpath fattr flock getpw proc exec tty", NULL) == -1) {
perror("pledge");
goto err;
}