Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/contrib/openbsm/bin/auditdistd/subr.c b/contrib/openbsm/bin/auditdistd/subr.c
- index e98ed1e..80d7ba0 100644
- --- a/contrib/openbsm/bin/auditdistd/subr.c
- +++ b/contrib/openbsm/bin/auditdistd/subr.c
- @@ -228,6 +228,10 @@ wait_for_file_init(int fd)
- PJDLOG_ASSERT(fd != -1);
- #ifdef HAVE_KQUEUE
- +
- + if (wait_for_file_kq != -1)
- + close(wait_for_file_kq);
- +
- kq = kqueue();
- if (kq == -1) {
- pjdlog_errno(LOG_WARNING, "kqueue() failed");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement