]> granicus.if.org Git - strace/blobdiff - msghdr.h
Fix the length argument passed from print_iovec to decode_netlink
[strace] / msghdr.h
index b56fe61be933e6bac58c0f634520237e045e7696..9e458fec0b37e35b0c06deb3194cd059c56d31ce 100644 (file)
--- a/msghdr.h
+++ b/msghdr.h
@@ -12,6 +12,9 @@ struct mmsghdr {
 # endif
 
 struct tcb;
-extern void print_struct_msghdr(struct tcb *, const struct msghdr *, const int *, unsigned long);
 
-#endif /* #ifndef STRACE_MSGHDR_H */
+extern void
+print_struct_msghdr(struct tcb *, const struct msghdr *,
+                   const int *p_user_msg_namelen, kernel_ulong_t data_size);
+
+#endif /* !STRACE_MSGHDR_H */