From 0da9b0e3b2e9b4f9bfba0553ea87fd9f6823d90d Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 16 May 2016 23:15:06 +0000 Subject: [PATCH] Fix printing of invalid flags argument of get_mempolicy syscall * numa.c (SYS_FUNC(get_mempolicy)): Print 5th argument of syscall using printxval_long. --- numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }