summaryrefslogtreecommitdiff
path: root/Source/Kernel/Linker/MelonBinary.class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/Linker/MelonBinary.class.cpp')
-rw-r--r--Source/Kernel/Linker/MelonBinary.class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/Linker/MelonBinary.class.cpp b/Source/Kernel/Linker/MelonBinary.class.cpp
index d6074de..0737b71 100644
--- a/Source/Kernel/Linker/MelonBinary.class.cpp
+++ b/Source/Kernel/Linker/MelonBinary.class.cpp
@@ -7,7 +7,7 @@ Binary* MelonBinary::load(File& file) {
MelonBinary* r = new MelonBinary;
file.read<u32int>(&r->m_size);
file.read<u32int>(&r->m_org);
- r->m_data = (u8int*)Mem::kalloc(r->m_size);
+ r->m_data = (u8int*)Mem::alloc(r->m_size);
file.read(r->m_size, r->m_data);
return r;
} else {