summaryrefslogtreecommitdiff
path: root/libnetfs/fsys-getroot.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-06-20 05:47:39 +0000
committerMiles Bader <miles@gnu.org>1997-06-20 05:47:39 +0000
commit5e3b47d9c4649a56804c0a12213a7af034ae2e5e (patch)
tree1a30bcf4b67cea014814587d0bf8c79d2f76145e /libnetfs/fsys-getroot.c
parentfafd2efa1c5ce451a9f160756928e8bf64a9cbe2 (diff)
(netfs_S_fsys_getroot):
Use S_IPTRANS bit in nn_stat st_mode field rather than istranslated field.
Diffstat (limited to 'libnetfs/fsys-getroot.c')
-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))
{