Message ID | 20220617143603.179277-3-hao.xu@linux.dev (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | multishot accept test fix and clean | expand |
diff --git a/test/accept.c b/test/accept.c index c6654baa3925..b322c018c7a9 100644 --- a/test/accept.c +++ b/test/accept.c @@ -241,7 +241,7 @@ static int test_loop(struct io_uring *ring, i, s_fd[i]); goto err; } - multishot_mask |= (1 << (s_fd[i] - 1)); + multishot_mask |= (1U << s_fd[i]); } if (!multishot) break;