From c327d71258edb75a8120dfbbdd0b1828a3f43a9a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 11 Oct 2011 16:05:57 +0000 Subject: [PATCH] Fix epoll_wait and epoll_pwait decoding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * desc.c (epoll_wait_common): Print "maxevents" and "timeout" arguments as integers. Reported-by: Марк Коренберг --- desc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } }