diff --git a/src/npc.c b/src/npc.c index 67d7f28..e00b36e 100644 --- a/src/npc.c +++ b/src/npc.c @@ -44,7 +44,7 @@ int main(int argc, char *argv[]) { char showtab = 0; /* prints tab characters in caret notation */ #ifdef __OpenBSD__ - if (pledge("stdio unveil", NULL) == -1 || unveil(NULL, NULL)) { + if (pledge("stdio unveil", "") == -1 || unveil(NULL, NULL)) { perror(argv[0] == NULL ? program_name : argv[0]); return EX_OSERR; }