fix indentation
This commit is contained in:
parent
3b97788878
commit
e726afa89d
1 changed files with 9 additions and 9 deletions
18
disk/raid.c
18
disk/raid.c
|
@ -562,16 +562,16 @@ insert_array (grub_disk_t disk, struct grub_raid_array *new_array,
|
|||
Use it directly as GRUB device. */
|
||||
if (! array->name)
|
||||
{
|
||||
array->name = grub_malloc (13);
|
||||
if (! array->name)
|
||||
{
|
||||
grub_free (array->uuid);
|
||||
grub_free (array);
|
||||
array->name = grub_malloc (13);
|
||||
if (! array->name)
|
||||
{
|
||||
grub_free (array->uuid);
|
||||
grub_free (array);
|
||||
|
||||
return grub_errno;
|
||||
}
|
||||
grub_sprintf (array->name, "md%d", array->number);
|
||||
}
|
||||
return grub_errno;
|
||||
}
|
||||
grub_sprintf (array->name, "md%d", array->number);
|
||||
}
|
||||
else
|
||||
grub_sprintf (array->name, "%s", array->name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue