]> granicus.if.org Git - strace/blobdiff - userfaultfd.c
netlink_sock_diag: print inet_diag_sockid.idiag_if as an interface index
[strace] / userfaultfd.c
index 07094a10c854d01fc2542364a31a70e383081a10..6003588029c32a88dc755fd5c2a5a5039dfa4d19 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2015-2017 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -55,7 +56,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_ulong_t arg)
 {
        switch (code) {
        case UFFDIO_API: {