OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/drivers/net/bonding/bond_sysfs.c
b/drivers/net/bonding/bond_sysfs.c
index
0e8b268
..
5f6babc
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,