aboutsummaryrefslogtreecommitdiff
path: root/lib/System/SunOS/Memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/SunOS/Memory.cpp')
-rw-r--r--lib/System/SunOS/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/SunOS/Memory.cpp b/lib/System/SunOS/Memory.cpp
index 8c6a44d277..4f88b328ba 100644
--- a/lib/System/SunOS/Memory.cpp
+++ b/lib/System/SunOS/Memory.cpp
@@ -39,7 +39,7 @@ MemoryBlock Memory::AllocateRWX(unsigned NumBytes) {
}
MemoryBlock result;
result.Address = pa;
- result.AllocSize = NumPages*pageSize;
+ result.Size = NumPages*pageSize;
return result;
}