Ticket #6141: 0001-Improve-trace-output.patch

File 0001-Improve-trace-output.patch, 1.0 KB (added by andreasf, 14 years ago)

proposed patch

  • src/system/kernel/vm/vm.cpp

    From c0e882b198c77a3471ef6cb71433cc5ad9f95b44 Mon Sep 17 00:00:00 2001
    From: Andreas Faerber <andreas.faerber@web.de>
    Date: Sun, 6 Jun 2010 04:52:08 +0200
    Subject: [PATCH] Improve trace output
    
    ---
     src/system/kernel/vm/vm.cpp |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp
    index a966885..8b04f46 100644
    a b vm_map_physical_memory(team_id team, const char* name, void** _address,  
    14021402    VMCache* cache;
    14031403    addr_t mapOffset;
    14041404
    1405     TRACE(("vm_map_physical_memory(aspace = %ld, \"%s\", virtual = %p, "
     1405    TRACE(("vm_map_physical_memory(aspace = %ld, \"%s\", *virtual = %p, "
    14061406        "spec = %ld, size = %lu, protection = %ld, phys = %#lx)\n", team,
    1407         name, _address, addressSpec, size, protection, physicalAddress));
     1407        name, *_address, addressSpec, size, protection, physicalAddress));
    14081408
    14091409    if (!arch_vm_supports_protection(protection))
    14101410        return B_NOT_SUPPORTED;