2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>

* kern/device.c (grub_device_iterate): Ignore errors during first scan.
	Fixes amarsh bug.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-10 13:26:22 +01:00
parent 1a0f7f4553
commit e1f270654e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-12-10 Vladimir Serbinenko <phcoder@gmail.com>
* kern/device.c (grub_device_iterate): Ignore errors during first scan.
Fixes amarsh bug.
2009-12-09 Bruce Dubbs <bruce.dubbs@gmail.com> 2009-12-09 Bruce Dubbs <bruce.dubbs@gmail.com>
Remove miscellaneous files in distclean target. Remove miscellaneous files in distclean target.

View file

@ -109,6 +109,8 @@ grub_device_iterate (int (*hook) (const char *name))
(void) grub_partition_iterate (dev->disk, iterate_partition); (void) grub_partition_iterate (dev->disk, iterate_partition);
grub_device_close (dev); grub_device_close (dev);
grub_errno = GRUB_ERR_NONE;
p = ents; p = ents;
while (p != NULL) while (p != NULL)
{ {