summaryrefslogtreecommitdiff
path: root/Source/Kernel/Shell
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-13 18:32:26 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-13 18:32:26 +0200
commit01665d725a200c3c51bcd834cc8324ec057286c4 (patch)
treea9ddc80b628c8b6226dbeab24d4c7de00dca7075 /Source/Kernel/Shell
parent277d5fcb3b378089c0f3390a0b4d1b529075958a (diff)
downloadMelon-01665d725a200c3c51bcd834cc8324ec057286c4.tar.gz
Melon-01665d725a200c3c51bcd834cc8324ec057286c4.zip
Heap is now in a separate class, Heap.
Diffstat (limited to 'Source/Kernel/Shell')
-rw-r--r--Source/Kernel/Shell/KernelShell-sys.class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/Shell/KernelShell-sys.class.cpp b/Source/Kernel/Shell/KernelShell-sys.class.cpp
index 17ff19c..6243b0f 100644
--- a/Source/Kernel/Shell/KernelShell-sys.class.cpp
+++ b/Source/Kernel/Shell/KernelShell-sys.class.cpp
@@ -29,7 +29,7 @@ void KernelShell::free(Vector<String>& args) {
u32int frames = PhysMem::total(), freef = PhysMem::free();
*m_vt << " - Free frames : " << (s32int)freef << " (" << (s32int)(freef * 4 / 1024) << "Mo) of "
<< (s32int)frames << " (" << (s32int)(frames * 4 / 1024) << "Mo).\n";
- u32int kh = Mem::kheapSize(), freek = Mem::kheapFree;
+ u32int kh = Mem::kheapSize(), freek = Mem::kheapFree();
*m_vt << " - Kernel heap free : " << (s32int)(freek / 1024 / 1024) << "Mo (" << (s32int)(freek / 1024) <<
"Ko) of " << (s32int)(kh / 1024 / 1024) << "Mo (" << (s32int)(kh / 1024) << "Ko).\n";
}