]> git.proxmox.com Git - mirror_iproute2.git/commit
iproute: make clang happy
authorMahesh Bandewar <maheshb@google.com>
Thu, 23 Aug 2018 01:01:37 +0000 (18:01 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 30 Aug 2018 14:58:09 +0000 (07:58 -0700)
commit5d5586b0588969c9e9ff28da6cd558bfb5f68d9b
treed81e25eb36a3e32b2fcd21d29ace42376bc90e53
parenta5aaca9be223ed9e548820da6374a7208adcf558
iproute: make clang happy

These are primarily fixes for "string is not string literal" warnings
/ errors (with -Werror -Wformat-nonliteral). This should be a no-op
change. I had to replace couple of print helper functions with the
code they call as it was becoming harder to eliminate these warnings,
however these helpers were used only at couple of places, so no
major change as such.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/json_writer.h
ip/iplink_can.c
lib/color.c
lib/json_print.c
lib/json_writer.c
misc/ss.c
tc/m_ematch.c
tc/m_ematch.h