Patch by Andreas Faerber (small changes by myself):

* Fix compilation with tracing enabled.

Thanks! Fixes ticket #5183.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34862 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-01-02 18:34:42 +00:00
parent 6e95b86e15
commit 8d9e8ba5b7

View File

@ -1088,8 +1088,9 @@ vm_map_physical_memory_vecs(team_id team, const char* name, void** _address,
uint32 vecCount)
{
TRACE(("vm_map_physical_memory_vecs(team = %ld, \"%s\", virtual = %p, "
"spec = %ld, size = %lu, protection = %ld, phys = %#lx)\n", team,
name, _address, addressSpec, size, protection, physicalAddress));
"spec = %ld, _size = %p, protection = %ld, vecs = %p, "
"vecCount = %ld)\n", team, name, _address, addressSpec, _size,
protection, vecs, vecCount));
if (!arch_vm_supports_protection(protection)
|| (addressSpec & B_MTR_MASK) != 0) {