aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket.c b/test/socket.c
index 131a3a6..6a3ea09 100644
--- a/test/socket.c
+++ b/test/socket.c
@@ -254,8 +254,8 @@ static int do_send(int socket_direct, int alloc)
unsigned file_index = 0;
if (alloc)
file_index = IORING_FILE_INDEX_ALLOC - 1;
- io_uring_prep_socket_direct(sqe, AF_INET, SOCK_DGRAM, 0, 0,
- file_index);
+ io_uring_prep_socket_direct(sqe, AF_INET, SOCK_DGRAM, 0,
+ file_index, 0);
} else {
io_uring_prep_socket(sqe, AF_INET, SOCK_DGRAM, 0, 0);
}