]> granicus.if.org Git - strace/commitdiff
xlat: rename mempolicyflags to get_mempolicy_flags
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 3 Jul 2019 18:56:13 +0000 (18:56 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 3 Jul 2019 18:56:13 +0000 (18:56 +0000)
The former name was ambiguous.

* xlat/mempolicyflags.in: Rename to xlat/get_mempolicy_flags.in;
all users updated.

numa.c
xlat/get_mempolicy_flags.in [moved from xlat/mempolicyflags.in with 100% similarity]

diff --git a/numa.c b/numa.c
index 4434f5d20bc5b977bd9526f312dd78386d38461d..04a048bbb5fd5d41437b6d9d06b566e72e015199 100644 (file)
--- a/numa.c
+++ b/numa.c
@@ -78,7 +78,7 @@ SYS_FUNC(set_mempolicy)
        return RVAL_DECODED;
 }
 
-#include "xlat/mempolicyflags.h"
+#include "xlat/get_mempolicy_flags.h"
 
 SYS_FUNC(get_mempolicy)
 {
@@ -94,7 +94,7 @@ SYS_FUNC(get_mempolicy)
                tprintf(", %" PRI_klu ", ", tcp->u_arg[2]);
                printaddr(tcp->u_arg[3]);
                tprints(", ");
-               printflags64(mempolicyflags, tcp->u_arg[4], "MPOL_???");
+               printflags64(get_mempolicy_flags, tcp->u_arg[4], "MPOL_???");
        }
        return 0;
 }