libbsd: Use timespec_to_bigtime for time conversions in kqueue.

The FreeBSD manpage indicates that it will fail with EINVAL if
an invalid timespec is passed.
This commit is contained in:
Augustin Cavalier
2024-09-09 17:33:04 -04:00
parent 6a2d53e723
commit cf5249749d
2 changed files with 6 additions and 3 deletions
+1 -2
View File
@@ -11,9 +11,8 @@
#include <sys/time.h>
#include <time.h>
#include <SupportDefs.h>
#include <OS.h>
#include <new>
#define CLOCKS_PER_SEC_BEOS 1000
#define CLK_TCK_BEOS CLOCKS_PER_SEC_BEOS