small fixes

This commit is contained in:
avanspector
2024-02-25 02:38:35 +01:00
parent 028a79e66c
commit 24c8b15409
2 changed files with 3 additions and 1 deletions

View File

@@ -915,7 +915,7 @@ void futex_wait(Futex *f, Footex val) {
waitq->lock();
auto head = &waitq->list;
Wait_Node waiter;
Futex_Wait_Node waiter;
waiter.thread = pthread_self();
waiter.futex = f;
waiter.prev = head;