* util/grub-fstest.c (cmd_cp): Clarify error message.

(cmd_cmp): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-30 13:18:22 +01:00
parent 61b99bfc2a
commit 42b2a706bf
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-10-30 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-fstest.c (cmd_cp): Clarify error message.
(cmd_cmp): Likewise.
2011-10-30 Yves Blusseau <blusseau@zetam.org> 2011-10-30 Yves Blusseau <blusseau@zetam.org>
* po/POTFILES.in: Regenerate because of the removal of afs, afs_be, befs * po/POTFILES.in: Regenerate because of the removal of afs, afs_be, befs

View file

@ -182,7 +182,8 @@ cmd_cp (char *src, char *dest)
ff = fopen (dest, "wb"); ff = fopen (dest, "wb");
if (ff == NULL) if (ff == NULL)
{ {
grub_util_error (_("open error")); grub_util_error (_("OS file %s open error: %s"), dest,
strerror (errno));
return; return;
} }
read_file (src, cp_hook); read_file (src, cp_hook);
@ -241,7 +242,8 @@ cmd_cmp (char *src, char *dest)
ff = fopen (dest, "rb"); ff = fopen (dest, "rb");
if (ff == NULL) if (ff == NULL)
{ {
grub_util_error (_("open error")); grub_util_error (_("OS file %s open error: %s"), dest,
strerror (errno));
return; return;
} }