aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Interix/Memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Interix/Memory.cpp')
-rw-r--r--lib/System/Interix/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Interix/Memory.cpp b/lib/System/Interix/Memory.cpp
index b0791ef..b79f8b6 100644
--- a/lib/System/Interix/Memory.cpp
+++ b/lib/System/Interix/Memory.cpp
@@ -44,7 +44,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);
}
}