mirror of https://gitee.com/openkylin/linux.git
net: bonding: Fix format string mismatch in bond_sysfs.c
Fix format string mismatch in bonding_show_min_links(). Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e374c618b1
commit
014f1b2010
|
@ -534,7 +534,7 @@ static ssize_t bonding_show_min_links(struct device *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,
|
||||
|
|
Loading…
Reference in New Issue