diff --git a/ChangeLog b/ChangeLog index 30d8b363a..a3b920ee3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-02 Vladimir Serbinenko + + * util/getroot.c (grub_make_system_path_relative_to_its_root): Fix + absolutely unclear error message. + 2012-03-02 Vladimir Serbinenko * util/grub-mkstandalone.in: Remove confusing leftover print. diff --git a/util/getroot.c b/util/getroot.c index 29ff96b81..2389fc9a0 100644 --- a/util/getroot.c +++ b/util/getroot.c @@ -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