Skip to content

Commit

Permalink
test/reg-wait: silence codespell checker
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Nov 16, 2024
1 parent 425cfec commit f8f5724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/reg-wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static int test_wait_arg(void)
}

static int test_try_register_region(struct io_uring_mem_region_reg *pr,
bool disabled, bool reenable)
bool disabled, bool enable)
{
struct io_uring ring;
int flags = 0;
Expand All @@ -237,7 +237,7 @@ static int test_try_register_region(struct io_uring_mem_region_reg *pr,
return 1;
}

if (reenable) {
if (enable) {
ret = io_uring_enable_rings(&ring);
if (ret) {
fprintf(stderr, "io_uring_enable_rings failure %i\n", ret);
Expand Down

0 comments on commit f8f5724

Please sign in to comment.