diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-01-16 08:41:05 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-16 09:00:50 -0700 |
commit | b93edf5b9eb6f392d40585e26df1663fccc0c09d (patch) | |
tree | 55f8cb83aa3cb6e1e738230d1ef9f9f07db38e9a /src/syscall.c | |
parent | f16b83b29349dae16f07aae9a1709aed0dff247d (diff) |
Sync with upstream API
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/syscall.c')
-rw-r--r-- | src/syscall.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) |