diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 9d9f027a9af4..3e9b47d9f21b 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -3278,8 +3278,8 @@ static void bond_info_show_master(struct seq_file *seq) | |||
3278 | 3278 | ||
3279 | if (USES_PRIMARY(bond->params.mode)) { | 3279 | if (USES_PRIMARY(bond->params.mode)) { |
3280 | seq_printf(seq, "Primary Slave: %s\n", | 3280 | seq_printf(seq, "Primary Slave: %s\n", |
3281 | (bond->params.primary[0]) ? | 3281 | (bond->primary_slave) ? |
3282 | bond->params.primary : "None"); | 3282 | bond->primary_slave->dev->name : "None"); |
3283 | 3283 | ||
3284 | seq_printf(seq, "Currently Active Slave: %s\n", | 3284 | seq_printf(seq, "Currently Active Slave: %s\n", |
3285 | (curr) ? curr->dev->name : "None"); | 3285 | (curr) ? curr->dev->name : "None"); |