diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-22 14:58:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-22 14:58:48 +0000 |
commit | 65cee38304172c6c1526f3ed7bdabf02ac60ad56 (patch) | |
tree | 7bae1e9cea734219cc912a5816668b703f156e2f /main.c | |
parent | c81ba0cd844ef2ade9cb6450e3ba39ac0aff5bab (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |