summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-22 14:58:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-22 14:58:48 +0000
commit65cee38304172c6c1526f3ed7bdabf02ac60ad56 (patch)
tree7bae1e9cea734219cc912a5816668b703f156e2f /main.c
parentc81ba0cd844ef2ade9cb6450e3ba39ac0aff5bab (diff)
downloadmandoc-65cee38304172c6c1526f3ed7bdabf02ac60ad56.tar.gz
Since SQLite is gone, we no longer need the "flock" pledge.
Patch from semarie@, OK tb@.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 30750cd7..486d4c0a 100644
--- a/main.c
+++ b/main.c
@@ -149,7 +149,7 @@ main(int argc, char *argv[])
return mandocdb(argc, argv);
#if HAVE_PLEDGE
- if (pledge("stdio rpath tmppath tty proc exec flock", NULL) == -1)
+ if (pledge("stdio rpath tmppath tty proc exec", NULL) == -1)
err((int)MANDOCLEVEL_SYSERR, "pledge");
#endif
@@ -312,7 +312,7 @@ main(int argc, char *argv[])
#if HAVE_PLEDGE
if (!use_pager)
- if (pledge("stdio rpath flock", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1)
err((int)MANDOCLEVEL_SYSERR, "pledge");
#endif