UBI: fix error message

Make it print "UBI error: cannot attach mtd4"
instead of "UBI error: cannot attach 4"

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

+2 -2
+2 -2
drivers/mtd/ubi/build.c
··· 1000 mutex_unlock(&ubi_devices_mutex); 1001 if (err < 0) { 1002 put_mtd_device(mtd); 1003 - printk(KERN_ERR "UBI error: cannot attach %s\n", 1004 - p->name); 1005 goto out_detach; 1006 } 1007 }
··· 1000 mutex_unlock(&ubi_devices_mutex); 1001 if (err < 0) { 1002 put_mtd_device(mtd); 1003 + printk(KERN_ERR "UBI error: cannot attach mtd%d\n", 1004 + mtd->index); 1005 goto out_detach; 1006 } 1007 }