2008-08-11 Robert Millan <rmh@aybabtu.com>
* kern/device.c (grub_device_open): Do not handle grub_disk_open() errors. Leave it to the upper layer to handle them.
This commit is contained in:
parent
2d05bc6a3e
commit
e352e9cde3
2 changed files with 6 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-08-11 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* kern/device.c (grub_device_open): Do not handle grub_disk_open()
|
||||
errors. Leave it to the upper layer to handle them.
|
||||
|
||||
2008-08-09 Christian Franke <franke@computer.org>
|
||||
|
||||
* Makefile.in: Add `target_os' and `enable_grub_pe2elf'.
|
||||
|
|
|
@ -49,11 +49,7 @@ grub_device_open (const char *name)
|
|||
/* Try to open a disk. */
|
||||
disk = grub_disk_open (name);
|
||||
if (! disk)
|
||||
{
|
||||
grub_print_error ();
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
goto fail;
|
||||
}
|
||||
goto fail;
|
||||
|
||||
dev->disk = disk;
|
||||
dev->net = 0; /* FIXME */
|
||||
|
|
Loading…
Reference in a new issue