aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/xtsonic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/xtsonic.c')
-rw-r--r--drivers/net/xtsonic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xtsonic.c b/drivers/net/xtsonic.c
index 03a3f34e903..a12a7211c98 100644
--- a/drivers/net/xtsonic.c
+++ b/drivers/net/xtsonic.c
@@ -183,7 +183,7 @@ static int __init sonic_probe1(struct net_device *dev)
if (lp->descriptors == NULL) {
printk(KERN_ERR "%s: couldn't alloc DMA memory for "
- " descriptors.\n", lp->device->bus_id);
+ " descriptors.\n", dev_name(lp->device));
goto out;
}