diff --git a/src/scrut.c b/src/scrut.c index cfdd923..41504d2 100644 --- a/src/scrut.c +++ b/src/scrut.c @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) { program_name = argv[0] == NULL ? program_name : argv[0]; #ifdef __OpenBSD__ - if (pledge("rpath stdio unveil", NULL) == -1) { + if (pledge("rpath stdio unveil", "") == -1) { perror(program_name); return EX_OSERR; }