summaryrefslogtreecommitdiff
path: root/src/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall.c')
-rw-r--r--src/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall.c b/src/syscall.c
index 2904153..d0c58cf 100644
--- a/src/syscall.c
+++ b/src/syscall.c
@@ -34,7 +34,7 @@
# endif
#endif
-int io_uring_register(int fd, unsigned int opcode, void *arg,
+int io_uring_register(int fd, unsigned int opcode, const void *arg,
unsigned int nr_args)
{
return syscall(__NR_io_uring_register, fd, opcode, arg, nr_args);