summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnetfs/fsys-getroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/fsys-getroot.c b/libnetfs/fsys-getroot.c
index 17f22fce..1ee12f41 100644
--- a/libnetfs/fsys-getroot.c
+++ b/libnetfs/fsys-getroot.c
@@ -64,7 +64,7 @@ netfs_S_fsys_getroot (mach_port_t cntl,
type = netfs_root_node->nn_stat.st_mode & S_IFMT;
- if ((netfs_root_node->istranslated
+ if (((netfs_root_node->nn_stat.st_mode & S_IPTRANS)
|| fshelp_translated (&netfs_root_node->transbox))
&& !(flags & O_NOTRANS))
{