From b93edf5b9eb6f392d40585e26df1663fccc0c09d Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 16 Jan 2019 08:41:05 -0700 Subject: Sync with upstream API Signed-off-by: Jens Axboe --- src/syscall.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/syscall.c') diff --git a/src/syscall.c b/src/syscall.c index 7097c46..d0e35d2 100644 --- a/src/syscall.c +++ b/src/syscall.c @@ -31,9 +31,10 @@ #error "Arch not supported yet" #endif -int io_uring_register(int fd, unsigned int opcode, void *arg) +int io_uring_register(int fd, unsigned int opcode, void *arg, + unsigned int nr_args) { - return syscall(__NR_sys_io_uring_register, fd, opcode, arg); + return syscall(__NR_sys_io_uring_register, fd, opcode, arg, nr_args); } int io_uring_setup(unsigned int entries, struct io_uring_params *p) -- cgit