Author: tfaber
Date: Tue Aug 26 11:29:15 2014
New Revision: 63951
URL:
http://svn.reactos.org/svn/reactos?rev=63951&view=rev
Log:
[CMLIB]
- Fix format specifiers to work in host-tools
Modified:
trunk/reactos/lib/cmlib/hiveinit.c
Modified: trunk/reactos/lib/cmlib/hiveinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/hiveinit.c?rev=6…
==============================================================================
--- trunk/reactos/lib/cmlib/hiveinit.c [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/hiveinit.c [iso-8859-1] Tue Aug 26 11:29:15 2014
@@ -210,8 +210,8 @@
if (Bin->Signature != HV_BIN_SIGNATURE ||
(Bin->Size % HV_BLOCK_SIZE) != 0)
{
- DPRINT1("Invalid bin at BlockIndex %Iu, Signature 0x%lx, Size
0x%lx\n",
- BlockIndex, Bin->Signature, Bin->Size);
+ DPRINT1("Invalid bin at BlockIndex %lu, Signature 0x%x, Size 0x%x\n",
+ (unsigned long)BlockIndex, (unsigned)Bin->Signature,
(unsigned)Bin->Size);
Hive->Free(Hive->BaseBlock, 0);
Hive->Free(Hive->Storage[Stable].BlockList, 0);
return STATUS_REGISTRY_CORRUPT;