From ca75a86337d0885e6f118b2c38d766493f4321e3 Mon Sep 17 00:00:00 2001 From: Hoang Huu Le Date: Thu, 9 Jul 2020 11:25:55 +0700 Subject: [PATCH] tipc: fixed a compile warning in tipc/link.c Fixes: 5027f233e35b ("tipc: add link broadcast get") Signed-off-by: Hoang Huu Le Acked-by: Jon Maloy Signed-off-by: Stephen Hemminger --- tipc/link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipc/link.c b/tipc/link.c index ba77a2015..192736eaa 100644 --- a/tipc/link.c +++ b/tipc/link.c @@ -217,7 +217,7 @@ static int cmd_link_get_bcast_cb(const struct nlmsghdr *nlh, void *data) print_string(PRINT_ANY, "method", "%s", "AUTOSELECT"); close_json_object(); open_json_object(NULL); - print_uint(PRINT_ANY, "ratio", " ratio:%u%\n", + print_uint(PRINT_ANY, "ratio", " ratio:%u\n", mnl_attr_get_u32(props[prop_ratio])); break; default: -- 2.47.2