commit 2ce8b9d1d48c967b96c92cd47f299ba276be33dc parent ba092eb82f31752af5539f57b7dcf85c6c3c51f5 Author: Frederic Cambus <fred@statdns.com> Date: Mon, 18 Dec 2017 23:13:37 +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 *);