From 714470716fb38f43a2b2186fb4044f83cebe6be9 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 11 Sep 2004 20:18:08 +0000 Subject: Fix typo: sterror -> strerror git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16294 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/SunOS/Memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/System/SunOS/Memory.cpp') diff --git a/lib/System/SunOS/Memory.cpp b/lib/System/SunOS/Memory.cpp index dd15f13495..d6d871aa71 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); } } -- cgit v1.2.3-70-g09d2