mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Fixed wrong types in printf strings.
svn path=/trunk/; revision=4650
This commit is contained in:
parent
d13fee86d3
commit
e09ba35e8c
1 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: profile.c,v 1.2 2003/01/16 19:51:20 chorns Exp $
|
/* $Id: profile.c,v 1.3 2003/05/06 08:45:10 ekohl Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/dbg/profile.c
|
* FILE: ntoskrnl/dbg/profile.c
|
||||||
|
@ -263,9 +263,9 @@ KdbProfilerWriteSampleGroups(PLIST_ENTRY SamplesListHead)
|
||||||
PSAMPLE_GROUP_INFO sgi = CONTAINING_RECORD(
|
PSAMPLE_GROUP_INFO sgi = CONTAINING_RECORD(
|
||||||
Largest, SAMPLE_GROUP_INFO, ListEntry);
|
Largest, SAMPLE_GROUP_INFO, ListEntry);
|
||||||
|
|
||||||
//DbgPrint("%.08d %s\n", sgi->Count, sgi->Description);
|
//DbgPrint("%.08lu %s\n", sgi->Count, sgi->Description);
|
||||||
|
|
||||||
sprintf(Buffer, "%.08d %s\r\n", sgi->Count, sgi->Description);
|
sprintf(Buffer, "%.08lu %s\r\n", sgi->Count, sgi->Description);
|
||||||
KdbProfilerWriteString(Buffer);
|
KdbProfilerWriteString(Buffer);
|
||||||
|
|
||||||
RemoveEntryList(Largest);
|
RemoveEntryList(Largest);
|
||||||
|
@ -330,7 +330,7 @@ KdbProfilerAnalyzeSamples()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sprintf(NameBuffer, "(0x%.08x)", (ULONG) Address);
|
sprintf(NameBuffer, "(0x%.08lx)", (ULONG) Address);
|
||||||
}
|
}
|
||||||
|
|
||||||
KeyLength = strlen(NameBuffer);
|
KeyLength = strlen(NameBuffer);
|
||||||
|
|
Loading…
Reference in a new issue