false(1): fixes pledge(2) invocation
This commit is contained in:
parent
ba73f50527
commit
8bdb72ece8
@ -8,13 +8,12 @@
|
||||
*/
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
# include <unistd.h> /* NULL, pledge(2), unveil(2) */
|
||||
# include <unistd.h> /* pledge(2) */
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
#ifdef __OpenBSD__
|
||||
(void)pledge(NULL, NULL);
|
||||
(void)unveil(NULL, NULL);
|
||||
(void)pledge("stdio", "");
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user