mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTOS:KDBG] Minor code style fix.
This commit is contained in:
parent
0f8306b37f
commit
b2eaf90557
1 changed files with 12 additions and 12 deletions
|
@ -641,7 +641,7 @@ KdbpGetComponentId(
|
|||
{
|
||||
ULONG i;
|
||||
|
||||
for (i = 0; i < sizeof(ComponentTable) / sizeof(ComponentTable[0]); i++)
|
||||
for (i = 0; i < RTL_NUMBER_OF(ComponentTable); i++)
|
||||
{
|
||||
if (_stricmp(ComponentName, ComponentTable[i].Name) == 0)
|
||||
{
|
||||
|
@ -689,7 +689,7 @@ KdbpCmdFilter(
|
|||
KdbpPrint("The list of debug filter components currently available on your system is:\n\n");
|
||||
KdbpPrint(" Component Name Component ID\n"
|
||||
"================ ==============\n");
|
||||
for (i = 0; i < sizeof(ComponentTable) / sizeof(ComponentTable[0]); i++)
|
||||
for (i = 0; i < RTL_NUMBER_OF(ComponentTable); i++)
|
||||
{
|
||||
KdbpPrint("%16s 0x%08lx\n", ComponentTable[i].Name, ComponentTable[i].Id);
|
||||
}
|
||||
|
@ -704,7 +704,7 @@ KdbpCmdFilter(
|
|||
|
||||
if (p > opt)
|
||||
{
|
||||
for (j = 0; j < sizeof(debug_classes) / sizeof(debug_classes[0]); j++)
|
||||
for (j = 0; j < RTL_NUMBER_OF(debug_classes); j++)
|
||||
{
|
||||
SIZE_T len = strlen(debug_classes[j].Name);
|
||||
if (len != (p - opt))
|
||||
|
@ -718,7 +718,7 @@ KdbpCmdFilter(
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (j == sizeof(debug_classes) / sizeof(debug_classes[0]))
|
||||
if (j == RTL_NUMBER_OF(debug_classes))
|
||||
{
|
||||
Level = strtoul(opt, &pend, 0);
|
||||
if (pend != p)
|
||||
|
|
Loading…
Reference in a new issue