diff options
| -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 dc15d248443f..238d9b3e2252 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c | |||
| @@ -1060,7 +1060,7 @@ static ssize_t bonding_store_primary(struct device *d, | |||
| 1060 | goto out; | 1060 | goto out; |
| 1061 | } | 1061 | } |
| 1062 | 1062 | ||
| 1063 | sscanf(buf, "%16s", ifname); /* IFNAMSIZ */ | 1063 | sscanf(buf, "%15s", ifname); /* IFNAMSIZ */ |
| 1064 | 1064 | ||
| 1065 | /* check to see if we are clearing primary */ | 1065 | /* check to see if we are clearing primary */ |
| 1066 | if (!strlen(ifname) || buf[0] == '\n') { | 1066 | if (!strlen(ifname) || buf[0] == '\n') { |
