commit 7e2b713c2a608ade289da1af9e4c91abe911c7a0 parent 24a7e6f5dc27fc6f6bf987bb088caf842d169c0b Author: Frederic Cambus <fred@statdns.com> Date: Mon, 18 Dec 2017 22:56:14 +0100 Reflect OpenBSD's pledge() changes Diffstat:
M | compat/pledge.c | | | 4 | ++-- |
M | compat/pledge.h | | | 2 | +- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/compat/pledge.c b/compat/pledge.c @@ -1,6 +1,6 @@ int -pledge(const char *promises, const char *paths[]) { +pledge(const char *promises, const char *execpromises) { (void)promises; - (void)paths; + (void)execpromises; return 0; } diff --git a/compat/pledge.h b/compat/pledge.h @@ -1 +1 @@ -int pledge(const char *, const char **); +int pledge(const char *, const char *);