diff options
Diffstat (limited to 'libnetfs/fsys-getroot.c')
-rw-r--r-- | libnetfs/fsys-getroot.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libnetfs/fsys-getroot.c b/libnetfs/fsys-getroot.c index a1dd5e54..0d801114 100644 --- a/libnetfs/fsys-getroot.c +++ b/libnetfs/fsys-getroot.c @@ -43,7 +43,11 @@ netfs_S_fsys_getroot (mach_port_t cntl, error_t err; struct protid *newpi; mode_t type; - struct peropen peropen_context = { root_parent: dotdot }; + struct peropen peropen_context = + { + root_parent: dotdot, + path: NULL, + }; if (!pt) return EOPNOTSUPP; |