* kern/file.c (grub_file_open): Revert to previous check with
grub_errno.
+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]"
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, ')');