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:
fzielcke 2009-07-25 18:28:58 +00:00
parent 7ad8c80ee8
commit 2366e356ce
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2009-07-25 Felix Zielcke <fzielcke@z-51.de>
* kern/file.c (grub_file_open): Revert to previous check with
grub_errno.
2009-07-25 Vladimir Serbinenko <phcoder@gmail.com>
* commands/probe.c (GRUB_MOD_INIT (probe)): Remove "[--target=target]"

View file

@ -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, ')');