Fix handling of nvlist array

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-12-05 18:13:32 +01:00
parent 069142f4c2
commit e5c63d9d41
2 changed files with 32 additions and 18 deletions

View file

@ -139,7 +139,6 @@ print_vdev_info (char *nvlist, int tab)
}
grub_printf ("Mirror VDEV with %d children\n", nelm);
print_state (nvlist, tab);
for (i = 0; i < nelm; i++)
{
char *child;
@ -159,6 +158,7 @@ print_vdev_info (char *nvlist, int tab)
grub_free (child);
}
return GRUB_ERR_NONE;
}
print_tabs (tab);