]> granicus.if.org Git - strace/blobdiff - userfaultfd.c
Change type of ioctl 3rd argument from long to kernel_ureg_t
[strace] / userfaultfd.c
index 07094a10c854d01fc2542364a31a70e383081a10..4be01d147e7ea56bec27c5fb6361dee01e1d93c8 100644 (file)
@@ -55,7 +55,8 @@ tprintf_uffdio_range(const struct uffdio_range *range)
 }
 
 int
-uffdio_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
+uffdio_ioctl(struct tcb *const tcp, const unsigned int code,
+            const kernel_ureg_t arg)
 {
        switch (code) {
        case UFFDIO_API: {