From: Eugene Syromyatnikov Date: Sat, 10 Mar 2018 05:18:04 +0000 (+0100) Subject: ipc_defs.h: use print_xlat X-Git-Tag: v4.23~337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37db70c027a473745e349342f5608239802d6e22;p=strace ipc_defs.h: use print_xlat * ipc_defs.h (PRINTCTL): Use print_xlat for printing IPC_64 named constant. --- diff --git a/ipc_defs.h b/ipc_defs.h index 740fd9de..568a3ef8 100644 --- a/ipc_defs.h +++ b/ipc_defs.h @@ -43,8 +43,10 @@ #define PRINTCTL(flagset, arg, dflt) \ do { \ - if ((arg) & IPC_64) \ - tprints("IPC_64|"); \ + if ((arg) & IPC_64) { \ + print_xlat(IPC_64); \ + tprints("|"); \ + } \ printxval((flagset), (arg) & ~IPC_64, dflt); \ } while (0)