From bbb3015054ae0f1e3b3a0e15cfa2c89fac5a454c Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Wed, 4 Apr 2018 14:54:06 +0200 Subject: [PATCH] open: use print_xlat_ex for printing open modes In order to respect xlat style setting. * open.c (tprint_open_modes): Use print_xlat_ex instead of tprint_open_modes. --- open.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/open.c b/open.c index b8da2aea..fde21ccc 100644 --- a/open.c +++ b/open.c @@ -113,7 +113,8 @@ sprint_open_modes(unsigned int flags) void tprint_open_modes(unsigned int flags) { - tprints(sprint_open_modes(flags) + sizeof("flags")); + print_xlat_ex(flags, sprint_open_modes(flags) + sizeof("flags"), + XLAT_STYLE_DEFAULT); } #ifdef O_TMPFILE -- 2.40.0