2008-01-25 Robert Millan <rmh@aybabtu.com>
Revert my previous commits (based on wrong assumption of how grub_errno works). * kern/disk.c (grub_disk_open): Stop reseting grub_errno. * kern/file.c (grub_file_open): Likewise.
This commit is contained in:
parent
d08bbb491e
commit
b95f71b5a3
3 changed files with 8 additions and 6 deletions
|
@ -59,9 +59,6 @@ grub_file_open (const char *name)
|
|||
char *device_name;
|
||||
char *file_name;
|
||||
|
||||
/* Do not account previous failures when grub_errno is checked for. */
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
|
||||
device_name = grub_file_get_device_name (name);
|
||||
if (grub_errno)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue