diff options
-rw-r--r-- | watch.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,11 @@ int main(int argc, char *argv[]) { fail(); } + if (pledge("stdio", NULL) == -1) { + perror("pledge"); + fail_clean(); + } + if ((kq = kqueue()) == -1) { perror("kqueue"); fail_clean(); |