[SCSI] fix up message/i2o/pci.c
authorJames Bottomley <jejb@mulgrave.(none)>
Fri, 13 Jan 2006 21:36:25 +0000 (15:36 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:54:59 +0000 (10:54 -0600)
There was a use before initialisation of c->name

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/i2o/pci.c

index f23aeea43f62058a4ae1823bb64380bc23fb7402..d698d7709c31c8d6073a58e3893de2c723f760f5 100644 (file)
@@ -315,7 +315,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev,
        }
 
        if (pci_request_regions(pdev, OSM_DESCRIPTION)) {
-               printk(KERN_ERR "i2o: device already claimed\n", c->name);
+               printk(KERN_ERR "i2o: device already claimed\n");
                return -ENODEV;
        }