diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-04-29 00:41:21 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-28 14:48:16 -0400 |
commit | 014f1b20108dc2c0bb0777d8383654a089c790f8 (patch) | |
tree | b25ca44ae4e763fb6d5b26b9281080f0e5e0de40 /drivers/net | |
parent | e374c618b1465f0292047a9f4c244bd71ab5f1f0 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bonding/bond_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index 0e8b268da0a0..5f6babcfc26e 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c @@ -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, |