summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Interix
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-11 20:18:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-11 20:18:08 +0000
commit55a96ee8f5432eea568ff82c8572879798e298fd (patch)
tree27c8f6da33ac5dc8cc79adcb27e5daca5a6f0afd /llvm/lib/System/Interix
parentfda2fe9f1e05f7cb58a7189f4b385f3a3764d691 (diff)
downloadbcm5719-llvm-55a96ee8f5432eea568ff82c8572879798e298fd.tar.gz
bcm5719-llvm-55a96ee8f5432eea568ff82c8572879798e298fd.zip
Fix typo: sterror -> strerror
llvm-svn: 16294
Diffstat (limited to 'llvm/lib/System/Interix')
-rw-r--r--llvm/lib/System/Interix/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Interix/Memory.cpp b/llvm/lib/System/Interix/Memory.cpp
index b0791ef7d14..b79f8b62680 100644
--- a/llvm/lib/System/Interix/Memory.cpp
+++ b/llvm/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);
}
}
OpenPOWER on IntegriCloud