summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/direntry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/direntry.cpp')
-rw-r--r--src/fs/virtfs/direntry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/virtfs/direntry.cpp b/src/fs/virtfs/direntry.cpp
index 2e82182ce..1ce81b97b 100644
--- a/src/fs/virtfs/direntry.cpp
+++ b/src/fs/virtfs/direntry.cpp
@@ -27,11 +27,13 @@ namespace VirtFs
DirEntry::DirEntry(const std::string &userDir0,
const std::string &rootDir,
+ const std::string &subDir0,
FsFuncs *restrict const funcs0) :
FsEntry(FsEntryType::Dir, funcs0),
userDir(userDir0)
{
root = rootDir;
+ subDir = subDir0;
}
DirEntry::~DirEntry()