From 6fb0ffca755d133cd190aa35ea356fee18faf61f Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Wed, 4 Apr 2018 14:38:22 +0200 Subject: [PATCH] net: use print_xlat_ex in tprint_sock_type In order to respect current xlat style setting. * next.c (tprint_sock_type): Use print_xlat_ex instead of tprints for socket type printing. --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.c b/net.c index 67452964..d7267912 100644 --- a/net.c +++ b/net.c @@ -113,7 +113,7 @@ tprint_sock_type(unsigned int flags) const char *str = xlookup(socktypes, flags & SOCK_TYPE_MASK); if (str) { - tprints(str); + print_xlat_ex(flags & SOCK_TYPE_MASK, str, XLAT_STYLE_DEFAULT); flags &= ~SOCK_TYPE_MASK; if (!flags) return; -- 2.40.0