mirror of
https://github.com/winfsp/winfsp.git
synced 2026-06-20 03:24:59 -05:00
sys: fix issues found by static analyzer
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ FSP_FSEXT_PROVIDER *FspFsextProvider(UINT32 FsextControlCode, PNTSTATUS PLoadRes
|
||||
|
||||
RtlInitEmptyUnicodeString(&Path, Buf, sizeof Buf);
|
||||
Result = RtlUnicodeStringPrintf(&Path,
|
||||
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\%s", Value.V.Data);
|
||||
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\%s", (PWSTR)Value.V.Data);
|
||||
ASSERT(NT_SUCCESS(Result));
|
||||
|
||||
Result = ZwLoadDriver(&Path);
|
||||
|
||||
Reference in New Issue
Block a user