diff options
Diffstat (limited to 'Kernel/VM/VMObject.cpp')
-rw-r--r-- | Kernel/VM/VMObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/VMObject.cpp b/Kernel/VM/VMObject.cpp index 4b4c92c93e..9c69b5a270 100644 --- a/Kernel/VM/VMObject.cpp +++ b/Kernel/VM/VMObject.cpp @@ -38,8 +38,8 @@ VMObject::VMObject(const VMObject& other) } VMObject::VMObject(size_t size) - : m_physical_pages(ceil_div(size, PAGE_SIZE)) { + m_physical_pages.resize(ceil_div(size, PAGE_SIZE)); MM.register_vmobject(*this); } |