* 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:
parent
5c81f8b349
commit
4f6a2e2175
2 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
||||||
2010-10-22 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/kern/emu/misc.c
|
||||||
|
(grub_make_system_path_relative_to_its_root)
|
||||||
|
[HAVE_LIBZFS && HAVE_LIBNVPAIR]: Fix mountpoint return on ZFS.
|
||||||
|
|
||||||
|
2010-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/emu/misc.c
|
* grub-core/kern/emu/misc.c
|
||||||
(grub_make_system_path_relative_to_its_root): Revert r2882.
|
(grub_make_system_path_relative_to_its_root): Revert r2882.
|
||||||
|
|
|
@ -416,6 +416,10 @@ grub_make_system_path_relative_to_its_root (const char *path)
|
||||||
{
|
{
|
||||||
free (buf);
|
free (buf);
|
||||||
free (buf2);
|
free (buf2);
|
||||||
|
#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR)
|
||||||
|
if (poolfs)
|
||||||
|
return xasprintf ("/%s/@", poolfs);
|
||||||
|
#endif
|
||||||
return xstrdup ("");
|
return xstrdup ("");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue