* [iproute2-next] tipc: fixed a compile warning in tipc/link.c
@ 2020-07-09 4:25 Hoang Huu Le
2020-07-10 2:25 ` Jon Maloy
0 siblings, 1 reply; 2+ messages in thread
From: Hoang Huu Le @ 2020-07-09 4:25 UTC (permalink / raw)
To: jmaloy, maloy, netdev, tipc-discussion
Fixes: 5027f233e35b ("tipc: add link broadcast get")
Signed-off-by: Hoang Huu Le <hoang.h.le@dektech.com.au>
---
tipc/link.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tipc/link.c b/tipc/link.c
index ba77a20152ea..192736eaa154 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.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [iproute2-next] tipc: fixed a compile warning in tipc/link.c
2020-07-09 4:25 [iproute2-next] tipc: fixed a compile warning in tipc/link.c Hoang Huu Le
@ 2020-07-10 2:25 ` Jon Maloy
0 siblings, 0 replies; 2+ messages in thread
From: Jon Maloy @ 2020-07-10 2:25 UTC (permalink / raw)
To: Hoang Huu Le, maloy, netdev, tipc-discussion
On 7/9/20 12:25 AM, Hoang Huu Le wrote:
> Fixes: 5027f233e35b ("tipc: add link broadcast get")
> Signed-off-by: Hoang Huu Le <hoang.h.le@dektech.com.au>
> ---
> tipc/link.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tipc/link.c b/tipc/link.c
> index ba77a20152ea..192736eaa154 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:
Acked-by: Jon Maloy <jmaloy@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-10 2:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 4:25 [iproute2-next] tipc: fixed a compile warning in tipc/link.c Hoang Huu Le
2020-07-10 2:25 ` Jon Maloy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).