Fix epoll_wait and epoll_pwait decoding

* desc.c (epoll_wait_common): Print "maxevents" and "timeout" arguments
as integers.

Reported-by: Марк Коренберг <socketpair@gmail.com>
This commit is contained in:
Дмитрий Левин 2011-10-11 16:05:57 +00:00
parent 5967c1a66b
commit c327d71258

2
desc.c
View File

@ -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]);
}
}