Kostik Belousov wrote:
BTW, -1 is ERESTART, so if you have SIGINT catched with SA_RESTART flag in the process that initiated kldload(2) syscall, then -1 is the right return code for cv_wait_sig.
Ah, makes sense. I hadn't considered that a BSD kernel error could be negative. I should have actually looked at errno.h. Sorry for the noise, and thanks for the explanation. Drew _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"