From: Dmitry V. Levin Date: Mon, 16 May 2016 23:15:06 +0000 (+0000) Subject: Fix printing of invalid flags argument of get_mempolicy syscall X-Git-Tag: v4.12~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0da9b0e3b2e9b4f9bfba0553ea87fd9f6823d90d;p=strace Fix printing of invalid flags argument of get_mempolicy syscall * numa.c (SYS_FUNC(get_mempolicy)): Print 5th argument of syscall using printxval_long. --- diff --git a/numa.c b/numa.c index b58a8fa3..b46fc7fc 100644 --- a/numa.c +++ b/numa.c @@ -111,7 +111,7 @@ SYS_FUNC(get_mempolicy) tprintf(", %lu, ", tcp->u_arg[2]); printaddr(tcp->u_arg[3]); tprints(", "); - printflags(mempolicyflags, tcp->u_arg[4], "MPOL_???"); + printflags_long(mempolicyflags, tcp->u_arg[4], "MPOL_???"); } return 0; }