From: Eugene Syromyatnikov Date: Thu, 27 Oct 2016 07:14:49 +0000 (+0300) Subject: mq: print msg_prio as a pointer, not as an immediate value X-Git-Tag: v4.15~171 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b50662498f830c37c762aa5ae78f23be6297dff;p=strace mq: print msg_prio as a pointer, not as an immediate value * mq.c (SYS_FUNC(mq_timedreceive)): Use printnum_int for printing msg_prio argument. --- diff --git a/mq.c b/mq.c index c04c8e98..1970f930 100644 --- a/mq.c +++ b/mq.c @@ -64,7 +64,9 @@ SYS_FUNC(mq_timedreceive) printstr(tcp, tcp->u_arg[1], tcp->u_rval); else printaddr(tcp->u_arg[1]); - tprintf(", %llu, %ld, ", getarg_ull(tcp, 2), tcp->u_arg[3]); + tprintf(", %llu, ", getarg_ull(tcp, 2)); + printnum_int(tcp, tcp->u_arg[3], "%u"); + tprintf(", "); /* * Since the timeout parameter is read by the kernel * on entering syscall, it has to be decoded the same way