* grub-core/kern/emu/misc.c

(grub_make_system_path_relative_to_its_root)
	[HAVE_LIBZFS && HAVE_LIBNVPAIR]: Fix mountpoint return on ZFS.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-10-23 20:39:08 +02:00
1 parent 5c81f8b349
commit 4f6a2e2175
2 files changed
+11 -1

No files matched your search

+4
View File
@@ -416,6 +416,10 @@ grub_make_system_path_relative_to_its_root (const char *path)
{
free (buf);
free (buf2);
#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR)
if (poolfs)
return xasprintf ("/%s/@", poolfs);
#endif
return xstrdup ("");
}
else