From 56872838e48e7d1b37f5e9e02f5b42a8ff04ab1f Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 26 Aug 2015 16:15:46 +0000 Subject: [PATCH] Fix printing of io_getevents first argument * aio.c (sys_io_getevents): Print first argument using "%lu" format. --- aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio.c b/aio.c index fe6f948e..83bb671f 100644 --- a/aio.c +++ b/aio.c @@ -232,8 +232,8 @@ SYS_FUNC(io_cancel) SYS_FUNC(io_getevents) { if (entering(tcp)) { - tprintf("%ld, %ld, %ld, ", tcp->u_arg[0], tcp->u_arg[1], - tcp->u_arg[2]); + tprintf("%lu, %ld, %ld, ", + tcp->u_arg[0], tcp->u_arg[1], tcp->u_arg[2]); } else { if (tcp->u_rval == 0) { tprints("[]"); -- 2.50.1