projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e374c61
)
net: bonding: Fix format string mismatch in bond_sysfs.c
author
Masanari Iida
<standby24x7@gmail.com>
Mon, 28 Apr 2014 15:41:21 +0000
(
00:41
+0900)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Apr 2014 18:48:16 +0000
(14:48 -0400)
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>
drivers/net/bonding/bond_sysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bonding/bond_sysfs.c
b/drivers/net/bonding/bond_sysfs.c
index 0e8b268da0a08f58c4443c6c36aa62bb9ef0f071..5f6babcfc26e6aa56881ef2dc24b1ed51e3d7539 100644
(file)
--- 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,