* util/grub-fstest.c (read_file): Report GRUB error if file opening
failed.
This commit is contained in:
parent
9ee8d94faa
commit
af869a4ab9
2 changed files with 7 additions and 1 deletions
|
@ -111,7 +111,8 @@ read_file (char *pathname, int (*hook) (grub_off_t ofs, char *buf, int len))
|
|||
file = grub_file_open (pathname);
|
||||
if (!file)
|
||||
{
|
||||
grub_util_error (_("cannot open file %s"), pathname);
|
||||
grub_util_error (_("cannot open file %s:%s"), pathname,
|
||||
grub_errmsg);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue