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
|
@ -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>
|
2009-07-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* commands/probe.c (GRUB_MOD_INIT (probe)): Remove "[--target=target]"
|
* commands/probe.c (GRUB_MOD_INIT (probe)): Remove "[--target=target]"
|
||||||
|
|
|
@ -60,8 +60,8 @@ grub_file_open (const char *name)
|
||||||
char *file_name;
|
char *file_name;
|
||||||
|
|
||||||
device_name = grub_file_get_device_name (name);
|
device_name = grub_file_get_device_name (name);
|
||||||
if (! device_name)
|
if (grub_errno)
|
||||||
goto fail;
|
return 0;
|
||||||
|
|
||||||
/* Get the file part of NAME. */
|
/* Get the file part of NAME. */
|
||||||
file_name = grub_strchr (name, ')');
|
file_name = grub_strchr (name, ')');
|
||||||
|
|
Loading…
Reference in a new issue