1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 23:10:26 +00:00

Missing &&

This commit is contained in:
Calvin Rose 2023-10-04 23:29:54 -05:00
parent b6e3020d4c
commit bf2af1051f

View File

@ -1839,7 +1839,7 @@ void janet_ev_init(void) {
int status;
do {
status = kevent(janet_vm.kq, &event, 1, NULL, 0, NULL);
} while (status == -1 errno != EINTR);
} while (status == -1 && errno != EINTR);
if (status == -1) goto error;
return;
error: