Advertisement
Guest User

Untitled

a guest
Jun 13th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1.  
  2. diff --git a/contrib/openbsm/bin/auditdistd/subr.c b/contrib/openbsm/bin/auditdistd/subr.c
  3. index e98ed1e..80d7ba0 100644
  4. --- a/contrib/openbsm/bin/auditdistd/subr.c
  5. +++ b/contrib/openbsm/bin/auditdistd/subr.c
  6. @@ -228,6 +228,10 @@ wait_for_file_init(int fd)
  7. PJDLOG_ASSERT(fd != -1);
  8.  
  9. #ifdef HAVE_KQUEUE
  10. +
  11. + if (wait_for_file_kq != -1)
  12. + close(wait_for_file_kq);
  13. +
  14. kq = kqueue();
  15. if (kq == -1) {
  16. pjdlog_errno(LOG_WARNING, "kqueue() failed");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement