]> granicus.if.org Git - strace/blobdiff - oldstat.c
Fix the length argument passed from print_iovec to decode_netlink
[strace] / oldstat.c
index df7e13a3e9c201b5ac583d77159aaa8122144362..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 *const tcp, const kernel_ureg_t 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))