* include/grub/util/getroot.h (grub_get_prefix): Remove prototype.

* util/getroot.c [__CYGWIN__] (get_win32_path): Remove function.
	(grub_get_prefix): Remove function.
	* util/grub-emu.c (main): Replace grub_get_prefix () call by
	make_system_path_relative_to_its_root ().
	* util/sparc64/ieee1275/grub-setup.c (main): Likewise.
This commit is contained in:
Christian Franke authored and Vladimir 'phcoder' Serbinenko committed 2010-04-26 03:35:55 +02:00
1 parent 553c01f958
commit 460d8402e0
5 files changed
+13 -101

No files matched your search

+2 -1
View File
@@ -627,7 +627,8 @@ main (int argc, char *argv[])
find_dest_dev (&ginfo, argv);
ginfo.prefix = grub_get_prefix (ginfo.dir ? : DEFAULT_DIRECTORY);
ginfo.prefix = make_system_path_relative_to_its_root (ginfo.dir ?
: DEFAULT_DIRECTORY);
check_root_dev (&ginfo);