diff --git a/ChangeLog b/ChangeLog index 40bf5cf95..b41e6fb3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-27 Richard Laager + + * util/getroot.c (grub_find_root_devices_from_mountinfo): Add missing + unescape. + 2012-02-27 Vladimir Serbinenko Don't use insecure popen in getroot. diff --git a/util/getroot.c b/util/getroot.c index 9bec24537..113f2cfc9 100644 --- a/util/getroot.c +++ b/util/getroot.c @@ -542,6 +542,8 @@ grub_find_root_devices_from_mountinfo (const char *dir, char **relroot) if (sscanf (sep, "%s %s", entry.fstype, entry.device) != 2) continue; + unescape (entry.device); + /* Using the mount IDs, find out where this fits in the list of visible mount entries we've seen so far. There are three interesting cases. Firstly, it may be inserted at the end: this is