From 450033065f991497b1fc423c3402d0d9fef432f3 Mon Sep 17 00:00:00 2001 From: Jeff Moyer Date: Tue, 5 Feb 2019 13:14:49 -0500 Subject: io_uring_register takes 4 args Signed-off-by: Jeff Moyer Signed-off-by: Jens Axboe --- src/liburing.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/liburing.h b/src/liburing.h index e287f3d..9917b5b 100644 --- a/src/liburing.h +++ b/src/liburing.h @@ -47,7 +47,8 @@ struct io_uring { extern int io_uring_setup(unsigned entries, struct io_uring_params *p); extern int io_uring_enter(unsigned fd, unsigned to_submit, unsigned min_complete, unsigned flags); -extern int io_uring_register(int fd, unsigned int opcode, void *arg); +extern int io_uring_register(int fd, unsigned int opcode, void *arg, + unsigned int nr_args); /* * Library interface -- cgit