aboutsummaryrefslogtreecommitdiff
path: root/lib/libbe/be_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libbe/be_access.c')
-rw-r--r--lib/libbe/be_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libbe/be_access.c b/lib/libbe/be_access.c
index a591a4f61d02..ec966bc85fb7 100644
--- a/lib/libbe/be_access.c
+++ b/lib/libbe/be_access.c
@@ -210,7 +210,7 @@ be_mounted_at(libbe_handle_t *lbh, const char *path, nvlist_t *details)
if (info.name != NULL) {
if (details != NULL) {
- if ((root_hdl = zfs_open(lbh->lzh, lbh->root,
+ if ((root_hdl = zfs_open(lbh->lzh, info.name,
ZFS_TYPE_FILESYSTEM)) == NULL) {
free(info.name);
return (BE_ERR_ZFSOPEN);