Author: cwittich
Date: Tue Feb 26 16:09:41 2008
New Revision: 32488
URL:
http://svn.reactos.org/svn/reactos?rev=32488&view=rev
Log:
fix some format strings
Modified:
trunk/reactos/base/services/eventlog/eventlog.c
trunk/reactos/base/services/eventlog/file.c
Modified: trunk/reactos/base/services/eventlog/eventlog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/eve…
==============================================================================
--- trunk/reactos/base/services/eventlog/eventlog.c (original)
+++ trunk/reactos/base/services/eventlog/eventlog.c Tue Feb 26 16:09:41 2008
@@ -332,7 +332,7 @@
DPRINT("EventType = EVENTLOG_AUDIT_FAILURE\n");
break;
default:
- DPRINT("EventType = %x\n");
+ DPRINT("EventType = %d\n", pRec->EventType);
}
DPRINT("NumStrings = %d\n", pRec->NumStrings);
Modified: trunk/reactos/base/services/eventlog/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/fil…
==============================================================================
--- trunk/reactos/base/services/eventlog/file.c (original)
+++ trunk/reactos/base/services/eventlog/file.c Tue Feb 26 16:09:41 2008
@@ -205,7 +205,7 @@
if (*pdwRecSize2 != dwRecSize)
{
- DPRINT1("Invalid size2 of record %d (%x) in %s\n",
+ DPRINT1("Invalid size2 of record %d (%x) in %S\n",
dwRecordsNumber, *pdwRecSize2, LogFile->LogName);
HeapFree(MyHeap, 0, RecBuf);
break;