[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211028141314.652a6142@hermes.local>
Date:   Thu, 28 Oct 2021 14:13:14 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Wen Liang <liangwen12year@...il.com>
Cc:     netdev@...r.kernel.org, dsahern@...il.com, aclaudi@...hat.com
Subject: Re: [PATCH iproute2 v2 1/2] tc: u32: add support for json output
On Thu, 28 Oct 2021 11:25:01 -0400
Wen Liang <liangwen12year@...il.com> wrote:
> +			print_0xhex(PRINT_ANY, "fwmark_value", "\n  mark 0x%04x ", mark->val);
> +			print_0xhex(PRINT_ANY, "fwmark_mask", "0x%04x ", mark->mask);
Use print_nl() which handles oneline mode rather than explicit newline print
Powered by blists - more mailing lists