Use correct format for arguments in debug messages
Modified: trunk/reactos/hal/halx86/generic/ipi.c
Modified: trunk/reactos/hal/halx86/generic/processor.c
Modified: trunk/reactos/hal/halx86/generic/timer.c
_____
Modified: trunk/reactos/hal/halx86/generic/ipi.c
--- trunk/reactos/hal/halx86/generic/ipi.c 2005-12-08 23:27:34 UTC
(rev 19982)
+++ trunk/reactos/hal/halx86/generic/ipi.c 2005-12-08 23:44:05 UTC
(rev 19983)
@@ -18,7 +18,7 @@
VOID STDCALL
HalRequestIpi(ULONG ProcessorNo)
{
- DPRINT("HalRequestIpi(ProcessorNo %d)\n", ProcessorNo);
+ DPRINT("HalRequestIpi(ProcessorNo %lu)\n", ProcessorNo);
}
/* EOF */
_____
Modified: trunk/reactos/hal/halx86/generic/processor.c
--- trunk/reactos/hal/halx86/generic/processor.c 2005-12-08
23:27:34 UTC (rev 19982)
+++ trunk/reactos/hal/halx86/generic/processor.c 2005-12-08
23:44:05 UTC (rev 19983)
@@ -24,7 +24,7 @@
HalInitializeProcessor(ULONG ProcessorNumber,
PLOADER_PARAMETER_BLOCK LoaderBlock)
{
- DPRINT("HalInitializeProcessor(%x %x)\n", ProcessorNumber,
LoaderBlock);
+ DPRINT("HalInitializeProcessor(%lu %p)\n", ProcessorNumber,
LoaderBlock);
}
BOOLEAN STDCALL
@@ -39,7 +39,7 @@
HalStartNextProcessor(ULONG Unknown1,
ULONG ProcessorStack)
{
- DPRINT("HalStartNextProcessor(%x %x)\n", Unknown1, ProcessorStack);
+ DPRINT("HalStartNextProcessor(0x%lx 0x%lx)\n", Unknown1,
ProcessorStack);
return TRUE;
}
_____
Modified: trunk/reactos/hal/halx86/generic/timer.c
--- trunk/reactos/hal/halx86/generic/timer.c 2005-12-08 23:27:34 UTC
(rev 19982)
+++ trunk/reactos/hal/halx86/generic/timer.c 2005-12-08 23:44:05 UTC
(rev 19983)
@@ -216,7 +216,7 @@
Ki386RdTSC(EndCount);
Pcr->PrcbData.MHz = (ULONG)(EndCount.QuadPart -
StartCount.QuadPart) / 10000;
- DPRINT("%dMHz\n", Pcr->PrcbData.MHz);
+ DPRINT("%luMHz\n", Pcr->PrcbData.MHz);
return;
}