* disk/raid.c (grub_raid_scan_device): Check for
`array->device[sb.this_disk.number]' rather than for
`array->device[sb.this_disk.number]->name', since the latter is not
garanteed to be accessible.
+2008-02-08 Robert Millan <rmh@aybabtu.com>
+
+ * disk/raid.c (grub_raid_scan_device): Check for
+ `array->device[sb.this_disk.number]' rather than for
+ `array->device[sb.this_disk.number]->name', since the latter is not
+ garanteed to be accessible.
+
2008-02-08 Robert Millan <rmh@aybabtu.com>
* disk/raid.c: Update copyright.
return 0;
}
- if (array->device[sb.this_disk.number]->name != 0)
+ if (array->device[sb.this_disk.number] != NULL)
{
/* We found multiple devices with the same number. Again,
this shouldn't happen.*/