mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 21:43:32 +08:00
[NTOS:IO] Fix a count in characters vs. bytes mismatch.
This commit is contained in:
parent
d1b3115afa
commit
3b60f4fa13
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user