mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[NTOS:IO] Fix a count in characters vs. bytes mismatch.
This commit is contained in:
@@ -939,7 +939,7 @@ IopInitializeBuiltinDriver(IN PLDR_DATA_TABLE_ENTRY BootLdrEntry)
|
||||
{
|
||||
WCHAR num[11];
|
||||
UNICODE_STRING instancePath;
|
||||
RtlStringCchPrintfW(num, sizeof(num), L"%u", i);
|
||||
RtlStringCbPrintfW(num, sizeof(num), L"%u", i);
|
||||
|
||||
Status = IopGetRegistryValue(enumServiceHandle, num, &kvInfo);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
||||
Reference in New Issue
Block a user