* grub-core/kern/emu/hostdisk.c (read_device_map): Explicitly
delimit path in strings using quotes. * util/getroot.c (grub_guess_root_devices): Likewise. (grub_make_system_path_relative_to_its_root): Likewise. * util/grub-probe.c (probe): Likewise. * util/ieee1275/ofpath.c (find_obppath): Likewise. (xrealpath): Likewise.
This commit is contained in:
parent
4a9950ecb0
commit
22099030ad
5 changed files with 16 additions and 6 deletions
|
@ -1339,7 +1339,7 @@ read_device_map (const char *dev_map)
|
|||
{
|
||||
map[drive].device = xmalloc (PATH_MAX);
|
||||
if (! realpath (p, map[drive].device))
|
||||
grub_util_error (_("failed to get canonical path of %s"), p);
|
||||
grub_util_error (_("failed to get canonical path of `%s'"), p);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue