2009-07-25 Felix Zielcke <fzielcke@z-51.de>
* kern/file.c (grub_file_open): Revert to previous check with grub_errno.
This commit is contained in:
parent
7ad8c80ee8
commit
2366e356ce
2 changed files with 7 additions and 2 deletions
|
@ -60,8 +60,8 @@ grub_file_open (const char *name)
|
|||
char *file_name;
|
||||
|
||||
device_name = grub_file_get_device_name (name);
|
||||
if (! device_name)
|
||||
goto fail;
|
||||
if (grub_errno)
|
||||
return 0;
|
||||
|
||||
/* Get the file part of NAME. */
|
||||
file_name = grub_strchr (name, ')');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue