]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/getroot.c (grub_make_system_path_relative_to_its_root): Fix
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 2 Mar 2012 13:58:53 +0000 (14:58 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 2 Mar 2012 13:58:53 +0000 (14:58 +0100)
absolutely unclear error message.

ChangeLog
util/getroot.c

index 30d8b363a40194e537a092c2224e490f3cf052c3..a3b920ee3fbccb1df5849d21e9192d641585f80e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 29ff96b810e8a68afcf0d779ec70b6ec3e45d232..2389fc9a0bc5b990800cddb2d22f85a086ac85ef 100644 (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