mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-30 23:12:35 -05:00
tst: memfs: add -D option to specify debug log file
This commit is contained in:
1 parent
e13233ef32
commit
612c820630
1 file changed
+2
-2
@@ -113,6 +113,8 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
|
||||
fail(L"cannot open debug log file");
|
||||
goto usage;
|
||||
}
|
||||
|
||||
FspDebugLogSetHandle(DebugLogHandle);
|
||||
}
|
||||
|
||||
Result = MemfsCreate(Flags, FileInfoTimeout, MaxFileNodes, MaxFileSize, VolumePrefix, RootSddl,
|
||||
@@ -123,8 +125,6 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if (INVALID_HANDLE_VALUE != DebugLogHandle)
|
||||
FspDebugLogSetHandle(DebugLogHandle);
|
||||
FspFileSystemSetDebugLog(MemfsFileSystem(Memfs), DebugFlags);
|
||||
|
||||
if (0 != MountPoint && L'\0' != MountPoint[0])
|
||||
|
||||
Reference in new issue
Block a user