Commit 014f1b20 authored by Masanari Iida's avatar Masanari Iida Committed by David S. Miller

net: bonding: Fix format string mismatch in bond_sysfs.c

Fix format string mismatch in bonding_show_min_links().
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e374c618
...@@ -534,7 +534,7 @@ static ssize_t bonding_show_min_links(struct device *d, ...@@ -534,7 +534,7 @@ static ssize_t bonding_show_min_links(struct device *d,
{ {
struct bonding *bond = to_bond(d); struct bonding *bond = to_bond(d);
return sprintf(buf, "%d\n", bond->params.min_links); return sprintf(buf, "%u\n", bond->params.min_links);
} }
static ssize_t bonding_store_min_links(struct device *d, static ssize_t bonding_store_min_links(struct device *d,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment