Use correct format for arguments in debug messages
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 8 Dec 2005 23:44:05 +0000 (23:44 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Thu, 8 Dec 2005 23:44:05 +0000 (23:44 +0000)
svn path=/trunk/; revision=19983

reactos/hal/halx86/generic/ipi.c
reactos/hal/halx86/generic/processor.c
reactos/hal/halx86/generic/timer.c

index fb372b2..e1ac713 100644 (file)
@@ -18,7 +18,7 @@
 VOID STDCALL
 HalRequestIpi(ULONG ProcessorNo)
 {
 VOID STDCALL
 HalRequestIpi(ULONG ProcessorNo)
 {
-  DPRINT("HalRequestIpi(ProcessorNo %d)\n", ProcessorNo);
+  DPRINT("HalRequestIpi(ProcessorNo %lu)\n", ProcessorNo);
 }
 
 /* EOF */
 }
 
 /* EOF */
index eac573d..6fb46ad 100644 (file)
@@ -24,7 +24,7 @@ VOID STDCALL
 HalInitializeProcessor(ULONG ProcessorNumber,
                        PLOADER_PARAMETER_BLOCK LoaderBlock)
 {
 HalInitializeProcessor(ULONG ProcessorNumber,
                        PLOADER_PARAMETER_BLOCK LoaderBlock)
 {
-  DPRINT("HalInitializeProcessor(%x %x)\n", ProcessorNumber, LoaderBlock);
+  DPRINT("HalInitializeProcessor(%lu %p)\n", ProcessorNumber, LoaderBlock);
 }
 
 BOOLEAN STDCALL
 }
 
 BOOLEAN STDCALL
@@ -39,7 +39,7 @@ BOOLEAN STDCALL
 HalStartNextProcessor(ULONG Unknown1,
                      ULONG ProcessorStack)
 {
 HalStartNextProcessor(ULONG Unknown1,
                      ULONG ProcessorStack)
 {
-  DPRINT("HalStartNextProcessor(%x %x)\n", Unknown1, ProcessorStack);
+  DPRINT("HalStartNextProcessor(0x%lx 0x%lx)\n", Unknown1, ProcessorStack);
 
   return TRUE;
 }
 
   return TRUE;
 }
index 0e9ab1e..4126642 100644 (file)
@@ -216,7 +216,7 @@ VOID HalpCalibrateStallExecution(VOID)
      Ki386RdTSC(EndCount);
 
      Pcr->PrcbData.MHz = (ULONG)(EndCount.QuadPart - StartCount.QuadPart) / 10000;
      Ki386RdTSC(EndCount);
 
      Pcr->PrcbData.MHz = (ULONG)(EndCount.QuadPart - StartCount.QuadPart) / 10000;
-     DPRINT("%dMHz\n", Pcr->PrcbData.MHz);
+     DPRINT("%luMHz\n", Pcr->PrcbData.MHz);
      return;
 
   }
      return;
 
   }