aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-27 22:11:42 +0000
committerlloyd <[email protected]>2013-12-27 22:11:42 +0000
commitc245e3d15a9c5b311cbb2eeff4a9fb2ddd61f232 (patch)
tree7f1ede421bfd502ca13a6d497fded3516490bd5c /src
parent6c478ab34cffd35b75269ca77af0f4019209f79a (diff)
Report size
Diffstat (limited to 'src')
-rw-r--r--src/alloc/locking_allocator/locking_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc/locking_allocator/locking_allocator.cpp b/src/alloc/locking_allocator/locking_allocator.cpp
index f00a1585a..13effbb09 100644
--- a/src/alloc/locking_allocator/locking_allocator.cpp
+++ b/src/alloc/locking_allocator/locking_allocator.cpp
@@ -235,7 +235,7 @@ mlock_allocator::mlock_allocator() :
{
::munmap(m_pool, m_poolsize);
m_pool = nullptr;
- throw std::runtime_error("Failed to lock pool in memory");
+ throw std::runtime_error("Could not mlock " + std::to_string(m_poolsize) + " bytes");
}
m_freelist.push_back(std::make_pair(0, m_poolsize));