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

Reid Spencer reid at x10sys.com
Sat Sep 11 15:18:19 CDT 2004



Changes in directory llvm/lib/System/Cygwin:

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

Fix typo: sterror -> strerror


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

Index: llvm/lib/System/Cygwin/Memory.cpp
diff -u llvm/lib/System/Cygwin/Memory.cpp:1.1 llvm/lib/System/Cygwin/Memory.cpp:1.2
--- llvm/lib/System/Cygwin/Memory.cpp:1.1	Fri Sep 10 23:59:30 2004
+++ llvm/lib/System/Cygwin/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