From: Eugene Syromyatnikov Date: Sat, 7 Apr 2018 00:12:10 +0000 (+0200) Subject: ipc_shm: print SHM_HUGE_SHIFT using print_xlat_u X-Git-Tag: v4.23~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01a4fcd4667b87e77e233230843776dd4f5446cc;p=strace ipc_shm: print SHM_HUGE_SHIFT using print_xlat_u * ipc_shm.c (SYS_FUNC(shmget)): Print SHM_HUGE_SHIFT using print_xlat_u. --- diff --git a/ipc_shm.c b/ipc_shm.c index 2f196459..9e9f5ae9 100644 --- a/ipc_shm.c +++ b/ipc_shm.c @@ -63,10 +63,12 @@ SYS_FUNC(shmget) if (flags || !hugetlb_value) printflags(shm_resource_flags, flags, NULL); - if (hugetlb_value) - tprintf("%s%u<> SHM_HUGE_SHIFT); + print_xlat_u(SHM_HUGE_SHIFT); + } if (flags || hugetlb_value) tprints("|");