]> granicus.if.org Git - strace/blobdiff - msghdr.h
Fix the length argument passed from print_iovec to decode_netlink
[strace] / msghdr.h
index 41a07d70f04570640fc80ad8a817b7d7e317c0a1..9e458fec0b37e35b0c06deb3194cd059c56d31ce 100644 (file)
--- a/msghdr.h
+++ b/msghdr.h
@@ -1,5 +1,5 @@
-#ifndef MSGHDR_H_
-# define MSGHDR_H_
+#ifndef STRACE_MSGHDR_H
+#define STRACE_MSGHDR_H
 
 /* For definitions of struct msghdr and struct mmsghdr. */
 # include <sys/socket.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 /* 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 */