From: Hoang Huu Le Date: Thu, 9 Jul 2020 04:25:55 +0000 (+0700) Subject: tipc: fixed a compile warning in tipc/link.c X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ca75a86337d0885e6f118b2c38d766493f4321e3;p=mirror_iproute2.git 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 --- diff --git a/tipc/link.c b/tipc/link.c index ba77a201..192736ea 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: