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:
Родитель
e374c618b1
Коммит
014f1b2010
|
@ -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,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче