aboutsummaryrefslogtreecommitdiffstats
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 dd15f13..d6d871a 100644
--- a/lib/System/SunOS/Memory.cpp
+++ b/lib/System/SunOS/Memory.cpp
@@ -45,7 +45,7 @@ void* Memory::AllocateRWX(Memory& M, unsigned NumBytes) {
void Memory::ReleaseRWX(Memory& M) {
if (M.Address == 0 || M.AllocSize == 0) return;
if (0 != munmap(M.Address, M.AllocSize)) {
- throw std::string("Can't release RWX Memory: ") + sterror(errno);
+ throw std::string("Can't release RWX Memory: ") + strerror(errno);
}
}