enic: Fix log message
authorVasanthy Kolluri <vkolluri@cisco.com>
Wed, 20 Oct 2010 10:17:19 +0000 (10:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Oct 2010 08:26:49 +0000 (01:26 -0700)
Fix a log message

Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c

index a63d2babdd8db4bc8fa6ca1ec54547e64eba94bd..f47fbb63d8b6c8dff2cbc24f34806ff54dd4d7a1 100644 (file)
@@ -2428,7 +2428,7 @@ static int enic_dev_init(struct enic *enic)
 
        err = enic_dev_set_ig_vlan_rewrite_mode(enic);
        if (err) {
-               netdev_err(netdev,
+               dev_err(dev,
                        "Failed to set ingress vlan rewrite mode, aborting.\n");
                goto err_out_free_vnic_resources;
        }