mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* util/getroot.c (grub_make_system_path_relative_to_its_root): Fix
absolutely unclear error message.
This commit is contained in:
1 parent
fd1265cb29
commit
e4b791fabe
2 files changed
+10
-1
No files matched your search
@@ -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>
|
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub-mkstandalone.in: Remove confusing leftover print.
|
* util/grub-mkstandalone.in: Remove confusing leftover print.
|
||||||
|
|||||||
+5
-1
@@ -2646,7 +2646,11 @@ grub_make_system_path_relative_to_its_root (const char *path)
|
|||||||
if (p == NULL)
|
if (p == NULL)
|
||||||
/* This should never happen. */
|
/* This should never happen. */
|
||||||
grub_util_error ("%s",
|
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)
|
if (p != buf)
|
||||||
*p = 0;
|
*p = 0;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user