From: Dmitry V. Levin Date: Sat, 1 Aug 2015 20:43:51 +0000 (+0000) Subject: eventfd: print first argument as unsigned int X-Git-Tag: v4.11~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00cc35079eeac6e767d5375edfb9c48e58806c48;p=strace eventfd: print first argument as unsigned int * eventfd.c (do_eventfd): Explicitly cast initial value to unsigned int. --- diff --git a/eventfd.c b/eventfd.c index ec606cb2..0e22c2b7 100644 --- a/eventfd.c +++ b/eventfd.c @@ -3,7 +3,7 @@ static int do_eventfd(struct tcb *tcp, int flags_arg) { - tprintf("%lu", tcp->u_arg[0]); + tprintf("%u", (unsigned int) tcp->u_arg[0]); if (flags_arg >= 0) { tprints(", "); printflags(open_mode_flags, tcp->u_arg[flags_arg], "O_???");