diff --git a/src/str.c b/src/str.c index 834d607..6d80bff 100644 --- a/src/str.c +++ b/src/str.c @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) { program_name = argv[0] == NULL ? program_name : argv[0]; #ifdef __OpenBSD__ - if (pledge("stdio unveil", NULL) == -1 || unveil(NULL, NULL) == -1) { + if (pledge("stdio unveil", "") == -1 || unveil(NULL, NULL) == -1) { perror(program_name); return EX_OSERR; }