summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/fsys-getroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c
index 024103dd..fec9d38f 100644
--- a/libdiskfs/fsys-getroot.c
+++ b/libdiskfs/fsys-getroot.c
@@ -67,7 +67,7 @@ diskfs_S_fsys_getroot (fsys_t controlport,
type = diskfs_root_node->dn_stat.st_mode & S_IFMT;
- if ((diskfs_root_node->istranslated
+ if (((diskfs_root_node->dn_stat.st_mode & S_IPTRANS)
|| fshelp_translated (&diskfs_root_node->transbox))
&& !(flags & O_NOTRANS))
{