]> granicus.if.org Git - strace/blobdiff - fetch_struct_statfs.c
Fix the length argument passed from print_iovec to decode_netlink
[strace] / fetch_struct_statfs.c
index ddb248b40f41e170f832681112ec602cbc3648c0..454e5b4ec0ce33cf5a2fea272dd86cb91b28c7db 100644 (file)
@@ -40,7 +40,8 @@ typedef struct statfs64 struct_statfs64;
 #include "statfs.h"
 
 MPERS_PRINTER_DECL(bool, fetch_struct_statfs,
-                  struct tcb *tcp, const long addr, struct strace_statfs *p)
+                  struct tcb *const tcp, const kernel_ulong_t addr,
+                  struct strace_statfs *const p)
 {
        struct_statfs b;
 
@@ -78,8 +79,8 @@ MPERS_PRINTER_DECL(bool, fetch_struct_statfs,
 #endif
 
 MPERS_PRINTER_DECL(bool, fetch_struct_statfs64,
-                  struct tcb *tcp, const long addr, const unsigned long size,
-                  struct strace_statfs *p)
+                  struct tcb *const tcp, const kernel_ulong_t addr,
+                  const kernel_ulong_t size, struct strace_statfs *const p)
 {
        struct_statfs64 b;