diff --git a/lib/System/SunOS/Memory.cpp b/lib/System/SunOS/Memory.cpp index 8c6a44d2773..4f88b328ba8 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; }