KMessage::Dump(): Fixed broken format.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39452 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-11-16 19:39:45 +00:00
parent 5a76a2c142
commit f31ab90a8d
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2005-2009, Ingo Weinhold, [email protected].
* Copyright 2005-2010, Ingo Weinhold, [email protected].
* Distributed under the terms of the MIT License.
*/
@@ -635,8 +635,8 @@ void
KMessage::Dump(void (*printFunc)(const char*, ...)) const
{
Header* header = _Header();
printFunc("KMessage: buffer: %p (size/capacity: %ld/%ld), flags: 0x0lx\n",
fBuffer, header->size, fBufferCapacity, fFlags);
printFunc("KMessage: buffer: %p (size/capacity: %ld/%ld), flags: %#"
B_PRIx32 "\n", fBuffer, header->size, fBufferCapacity, fFlags);
KMessageField field;
while (GetNextField(&field) == B_OK) {