mirror of
https://github.com/winfsp/winfsp.git
synced 2025-12-25 21:42:55 -06:00
sys: fix issues found by static analyzer
This commit is contained in:
@@ -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