]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
tipc: fixed a compile warning in tipc/link.c
authorHoang Huu Le <hoang.h.le@dektech.com.au>
Thu, 9 Jul 2020 04:25:55 +0000 (11:25 +0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 13 Jul 2020 15:43:32 +0000 (08:43 -0700)
Fixes: 5027f233e35b ("tipc: add link broadcast get")
Signed-off-by: Hoang Huu Le <hoang.h.le@dektech.com.au>
Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tipc/link.c

index ba77a20152ea3ae3ace5ffc22256d88565a9085f..192736eaa15421776f2cf51f649c245530a804d7 100644 (file)
@@ -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: