[llvm-commits] CVS: llvm/lib/System/SunOS/Memory.cpp

Reid Spencer reid at x10sys.com
Sat Sep 11 13:18:19 PDT 2004



Changes in directory llvm/lib/System/SunOS:

Memory.cpp updated: 1.1 -> 1.2
---
Log message:

Fix typo: sterror -> strerror


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/System/SunOS/Memory.cpp
diff -u llvm/lib/System/SunOS/Memory.cpp:1.1 llvm/lib/System/SunOS/Memory.cpp:1.2
--- llvm/lib/System/SunOS/Memory.cpp:1.1	Fri Sep 10 23:59:30 2004
+++ llvm/lib/System/SunOS/Memory.cpp	Sat Sep 11 15:18:08 2004
@@ -45,7 +45,7 @@
 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);
   }
 }
 






More information about the llvm-commits mailing list