]> git.ipfire.org Git - thirdparty/iproute2.git/commit
flower: fix clang warnings
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 11 Jan 2022 17:54:31 +0000 (09:54 -0800)
committerDavid Ahern <dsahern@kernel.org>
Wed, 26 Jan 2022 17:19:08 +0000 (10:19 -0700)
commitb2450e46b7b27aadcc0861e008b8386889a854c4
tree2d4c278904e0f456b06772d1b922f93f3891f936
parent4e27d5389560df3438e1eb0a801ab971ac61fc96
flower: fix clang warnings

Clang complains about passing non-format string to print_string.
Handle this by splitting json and non-json parts.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
tc/f_flower.c