commit | c327d71258edb75a8120dfbbdd0b1828a3f43a9a | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Oct 11 16:05:57 2011 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Oct 11 16:05:57 2011 +0000 |
tree | d90052267055bb2ef087cdb9a7baefa403c8ccec | |
parent | 5967c1a66bab9032e67e3dc9fbd521648cc91c07 [diff] [blame] |
Fix epoll_wait and epoll_pwait decoding * desc.c (epoll_wait_common): Print "maxevents" and "timeout" arguments as integers. Reported-by: Марк Коренберг <socketpair@gmail.com>
diff --git a/desc.c b/desc.c index 486acfb..fad6cfe 100644 --- a/desc.c +++ b/desc.c
@@ -777,7 +777,7 @@ 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]); } }