]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
bonding: use net_device_ops
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 6 Jan 2009 18:41:56 +0000 (10:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2009 18:41:56 +0000 (10:41 -0800)
Use the correct pointer in debug message.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c

index 460c2cad2755d2c5df58b626eceb280619271632..9fb388388fb72e6990e697843ac68158fb565bf0 100644 (file)
@@ -4148,7 +4148,7 @@ static int bond_change_mtu(struct net_device *bond_dev, int new_mtu)
 
        bond_for_each_slave(bond, slave, i) {
                pr_debug("s %p s->p %p c_m %p\n", slave,
-                       slave->prev, slave->dev->change_mtu);
+                       slave->prev, slave->dev->netdev_ops->ndo_change_mtu);
 
                res = dev_set_mtu(slave->dev, new_mtu);