summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_uring/rw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/rw.c b/io_uring/rw.c
index d0ac4a51420e..75f70935ccf4 100644
--- a/io_uring/rw.c
+++ b/io_uring/rw.c
@@ -212,7 +212,7 @@ static void io_rw_async_data_init(void *obj)
{
struct io_async_rw *rw = (struct io_async_rw *)obj;
- rw->free_iovec = 0;
+ rw->free_iovec = NULL;
rw->bytes_done = 0;
}