mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:IO] Fix a count in characters vs. bytes mismatch.
This commit is contained in:
parent
d1b3115afa
commit
3b60f4fa13
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue