diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-04-28 15:41:21 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-28 18:48:16 (GMT) |
commit | 014f1b20108dc2c0bb0777d8383654a089c790f8 (patch) | |
tree | b25ca44ae4e763fb6d5b26b9281080f0e5e0de40 /drivers/net/bonding/bond_sysfs.c | |
parent | e374c618b1465f0292047a9f4c244bd71ab5f1f0 (diff) | |
download | linux-014f1b20108dc2c0bb0777d8383654a089c790f8.tar.xz |
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/bonding/bond_sysfs.c')
-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 0e8b268..5f6babc 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, |