summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 48c95916..044dc1bf 100644
--- a/libdiskfs/fsys-getroot.c
+++ b/libdiskfs/fsys-getroot.c
@@ -57,7 +57,7 @@ diskfs_S_fsys_getroot (fsys_t controlport,
type = diskfs_root_node->dn_stat.st_mode & S_IFMT;
repeat_transcheck:
- if (diskfs_root_node->istranslated
+ if ((diskfs_root_node->istranslated
|| diskfs_root_node->translator.control != MACH_PORT_NULL)
&& !(flags & O_NOTRANS))
{