Skip to content

Commit

Permalink
net: bonding: Fix format string mismatch in bond_sysfs.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masanari Iida authored and David S. Miller committed Apr 28, 2014
1 parent e374c61 commit 014f1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bonding/bond_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 014f1b2

Please sign in to comment.