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
|
@ -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…
Add table
Add a link
Reference in a new issue