From: Dmitry V. Levin Date: Tue, 11 Oct 2011 16:05:57 +0000 (+0000) Subject: Fix epoll_wait and epoll_pwait decoding X-Git-Tag: v4.7~253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c327d71258edb75a8120dfbbdd0b1828a3f43a9a;p=strace Fix epoll_wait and epoll_pwait decoding * desc.c (epoll_wait_common): Print "maxevents" and "timeout" arguments as integers. Reported-by: Марк Коренберг --- diff --git a/desc.c b/desc.c index 486acfbc..fad6cfed 100644 --- a/desc.c +++ b/desc.c @@ -777,7 +777,7 @@ epoll_wait_common(struct tcb *tcp) tprints("{...}"); #endif } - tprintf(", %ld, %ld", tcp->u_arg[2], tcp->u_arg[3]); + tprintf(", %d, %d", (int) tcp->u_arg[2], (int) tcp->u_arg[3]); } }