* util/getroot.c (grub_make_system_path_relative_to_its_root): Fix

absolutely unclear error message.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-02 14:58:53 +01:00
parent fd1265cb29
commit e4b791fabe
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
* util/getroot.c (grub_make_system_path_relative_to_its_root): Fix
absolutely unclear error message.
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkstandalone.in: Remove confusing leftover print.

View file

@ -2646,7 +2646,11 @@ grub_make_system_path_relative_to_its_root (const char *path)
if (p == NULL)
/* This should never happen. */
grub_util_error ("%s",
_("FIXME: no / in buf. (make_system_path_relative_to_its_root)"));
/* TRANSLATORS: canonical pathname is the
complete one e.g. /etc/fstab. It has
to contain / normally, if it doesn't
we're in trouble and throw this error. */
_("no / in canonical filename"));
if (p != buf)
*p = 0;
else