summaryrefslogtreecommitdiff
path: root/tc/m_ctinfo.c
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@cumulusnetworks.com>2020-05-01 17:47:20 +0900
committerStephen Hemminger <stephen@networkplumber.org>2020-05-04 17:13:53 -0700
commit0501fe734fd75ed93b3417266127bfc37b07459b (patch)
tree4d648b2b49d3393b00cf58b373dd991b6aa7edf8 /tc/m_ctinfo.c
parente0c457b1a5a26035ccf7c0e6f271d987dbeb8bda (diff)
Replace open-coded instances of print_nl()
Signed-off-by: Benjamin Poirier <bpoirier@cumulusnetworks.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'tc/m_ctinfo.c')
-rw-r--r--tc/m_ctinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tc/m_ctinfo.c b/tc/m_ctinfo.c
index 5e451f87..e5c1b436 100644
--- a/tc/m_ctinfo.c
+++ b/tc/m_ctinfo.c
@@ -238,7 +238,7 @@ static int print_ctinfo(struct action_util *au, FILE *f, struct rtattr *arg)
print_hu(PRINT_ANY, "zone", "zone %u", zone);
print_action_control(f, " ", ci->action, "");
- print_string(PRINT_FP, NULL, "%s", _SL_);
+ print_nl();
print_uint(PRINT_ANY, "index", "\t index %u", ci->index);
print_int(PRINT_ANY, "ref", " ref %d", ci->refcnt);
print_int(PRINT_ANY, "bind", " bind %d", ci->bindcnt);
@@ -256,7 +256,7 @@ static int print_ctinfo(struct action_util *au, FILE *f, struct rtattr *arg)
if (show_stats)
print_ctinfo_stats(f, tb);
- print_string(PRINT_FP, NULL, "%s", _SL_);
+ print_nl();
return 0;
}