[NTOS:KDBG] Adapt the formatting of the debug filter table display output to suit longer component names.

This commit is contained in:
Hermès Bélusca-Maïto 2020-07-18 18:16:21 +02:00
parent 7d3dac324e
commit 46416a6238

View file

@ -706,11 +706,11 @@ KdbpCmdFilter(
"- The 'DEFAULT' debug filter component is used for DbgPrint() messages with\n"
" an unknown Component ID.\n\n");
KdbpPrint("The list of debug filter components currently available on your system is:\n\n");
KdbpPrint(" Component Name Component ID\n"
"================ ==============\n");
KdbpPrint(" Component Name Component ID\n"
" ================== ================\n");
for (i = 0; i < RTL_NUMBER_OF(ComponentTable); i++)
{
KdbpPrint("%16s 0x%08lx\n", ComponentTable[i].Name, ComponentTable[i].Id);
KdbpPrint("%20s 0x%08lx\n", ComponentTable[i].Name, ComponentTable[i].Id);
}
return TRUE;
}