diff --git a/src/false.c b/src/false.c index 191cfce..3cea001 100644 --- a/src/false.c +++ b/src/false.c @@ -8,13 +8,12 @@ */ #ifdef __OpenBSD__ -# include /* NULL, pledge(2), unveil(2) */ +# include /* pledge(2) */ #endif int main(void) { #ifdef __OpenBSD__ - (void)pledge(NULL, NULL); - (void)unveil(NULL, NULL); + (void)pledge("stdio", ""); #endif return 1; }