]> granicus.if.org Git - strace/blobdiff - fetch_struct_stat.c
Fix the length argument passed from print_iovec to decode_netlink
[strace] / fetch_struct_stat.c
index 399b78c3e3f0b6fb9b3c73ba6c853ef5f589900f..50d102841d1235d85e793c041317415d01d43f20 100644 (file)
@@ -70,7 +70,7 @@ typedef struct stat struct_stat;
 #endif
 
 MPERS_PRINTER_DECL(bool, fetch_struct_stat,
-                  struct tcb *tcp, const unsigned long addr,
+                  struct tcb *const tcp, const kernel_ulong_t addr,
                   struct strace_stat *const dst)
 {
 #ifdef HAVE_STRUCT_STAT