hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 9511626c4b9a89404ae44901d5ddc95ad54b7a45
parent 1bae701e502fa4f5ad392a1a269782a08e7ff638
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 18 May 2021 18:20:11 -0400

linux::io_uring: fix needs_enter

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mlinux/io_uring/queue.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux/io_uring/queue.ha b/linux/io_uring/queue.ha @@ -24,7 +24,7 @@ export fn must_get_sqe(ring: *io_uring) *sqe = match (get_sqe(ring)) { }; fn needs_enter(ring: *io_uring, flags: *enter_flags) bool = { - if (ring.flags & setup_flags::IOPOLL == setup_flags::IOPOLL) { + if (ring.flags & setup_flags::IOPOLL != setup_flags::IOPOLL) { return true; };