From 3d49fa31ec7d4c6e12adc3b4e520796aee1837a5 Mon Sep 17 00:00:00 2001 From: "Ithamar R. Adema" Date: Sat, 10 Nov 2012 00:31:30 +0100 Subject: [PATCH] VMCache: Fix broken trace statements --- src/system/kernel/vm/VMCache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/vm/VMCache.cpp b/src/system/kernel/vm/VMCache.cpp index 9f58c4e0bd..2e845de85b 100644 --- a/src/system/kernel/vm/VMCache.cpp +++ b/src/system/kernel/vm/VMCache.cpp @@ -679,7 +679,7 @@ VMCache::Delete() page->SetCacheRef(NULL); TRACE(("vm_cache_release_ref: freeing page 0x%lx\n", - oldPage->physical_page_number)); + page->physical_page_number)); DEBUG_PAGE_ACCESS_START(page); vm_page_free(this, page); } @@ -928,7 +928,7 @@ VMCache::WaitForPageEvents(vm_page* page, uint32 events, bool relock) void VMCache::AddConsumer(VMCache* consumer) { - TRACE(("add consumer vm cache %p to cache %p\n", consumer, cache)); + TRACE(("add consumer vm cache %p to cache %p\n", consumer, this)); AssertLocked(); consumer->AssertLocked();