]> granicus.if.org Git - strace/blobdiff - oldstat.c
Fix the length argument passed from print_iovec to decode_netlink
[strace] / oldstat.c
index a5dd17722b90d63dcdebd3b3d3734e2cf6ba9f56..5535310ec6611d654e28f3987673e7b8feb090a0 100644 (file)
--- a/oldstat.c
+++ b/oldstat.c
@@ -36,7 +36,7 @@
 #ifdef HAVE_STRUCT___OLD_KERNEL_STAT
 
 static void
-print_old_kernel_stat(struct tcb *tcp, const unsigned long addr)
+print_old_kernel_stat(struct tcb *const tcp, const kernel_ulong_t addr)
 {
        struct __old_kernel_stat buf;
        if (umove_or_printaddr(tcp, addr, &buf))