aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-01-06 13:41:56 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-06 13:41:56 -0500
commit53a3294e26c49622daa14c1d8540500f568ded99 (patch)
treeb196734812fa24595e12e9b03d11226623e53e62 /drivers/net/bonding/bond_main.c
parentaf0490810cfa159b4894ddecfc5eb2e4432fb976 (diff)
bonding: use net_device_ops
Use the correct pointer in debug message. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 460c2cad2755..9fb388388fb7 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -4148,7 +4148,7 @@ static int bond_change_mtu(struct net_device *bond_dev, int new_mtu)
4148 4148
4149 bond_for_each_slave(bond, slave, i) { 4149 bond_for_each_slave(bond, slave, i) {
4150 pr_debug("s %p s->p %p c_m %p\n", slave, 4150 pr_debug("s %p s->p %p c_m %p\n", slave,
4151 slave->prev, slave->dev->change_mtu); 4151 slave->prev, slave->dev->netdev_ops->ndo_change_mtu);
4152 4152
4153 res = dev_set_mtu(slave->dev, new_mtu); 4153 res = dev_set_mtu(slave->dev, new_mtu);
4154 4154