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. */
|
Use it directly as GRUB device. */
|
||||||
if (! array->name)
|
if (! array->name)
|
||||||
{
|
{
|
||||||
array->name = grub_malloc (13);
|
array->name = grub_malloc (13);
|
||||||
if (! array->name)
|
if (! array->name)
|
||||||
{
|
{
|
||||||
grub_free (array->uuid);
|
grub_free (array->uuid);
|
||||||
grub_free (array);
|
grub_free (array);
|
||||||
|
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
}
|
}
|
||||||
grub_sprintf (array->name, "md%d", array->number);
|
grub_sprintf (array->name, "md%d", array->number);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
grub_sprintf (array->name, "%s", array->name);
|
grub_sprintf (array->name, "%s", array->name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue