X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;ds=sidebyside;f=net.c;h=050b746bf377922e58ff2d2450dbc9f242ad8d65;hb=043b5f81429412cf23d578d1dc2b45107a8352e5;hp=fba521be564ee65e4e0ffbdedde0bfa94f782688;hpb=3efa7c7f1be0f54e0656de5cb4a5f4c39db10150;p=strace diff --git a/net.c b/net.c index fba521be..050b746b 100644 --- a/net.c +++ b/net.c @@ -29,7 +29,6 @@ */ #include "defs.h" -#include #include #include #include @@ -1455,7 +1454,7 @@ printmmsghdr(struct tcb *tcp, long addr, unsigned int idx) return; } tprints("{"); - do_msghdr(tcp, &mmsg.msg_hdr, ULONG_MAX); + do_msghdr(tcp, &mmsg.msg_hdr, (unsigned long) -1L); tprintf(", %u}", mmsg.msg_len); } @@ -1639,7 +1638,7 @@ sys_sendmsg(struct tcb *tcp) { if (entering(tcp)) { tprintf("%ld, ", tcp->u_arg[0]); - printmsghdr(tcp, tcp->u_arg[1], ULONG_MAX); + printmsghdr(tcp, tcp->u_arg[1], (unsigned long) -1L); /* flags */ tprints(", "); printflags(msg_flags, tcp->u_arg[2], "MSG_???");