summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Ruby.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/Ruby.cpp')
-rw-r--r--cpp/src/Slice/Ruby.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Ruby.cpp b/cpp/src/Slice/Ruby.cpp
index 014b022208e..8b61d7947b0 100644
--- a/cpp/src/Slice/Ruby.cpp
+++ b/cpp/src/Slice/Ruby.cpp
@@ -7,7 +7,7 @@
//
// **********************************************************************
-#include <IceUtil/DisableWarnings.h>
+#include <IceUtil/StringUtil.h>
#include <IceUtil/Options.h>
#include <IceUtil/CtrlCHandler.h>
#include <IceUtil/Mutex.h>
@@ -297,7 +297,7 @@ Slice::Ruby::compile(const vector<string>& argv)
if(!out)
{
ostringstream os;
- os << "cannot open`" << file << "': " << strerror(errno);
+ os << "cannot open`" << file << "': " << IceUtilInternal::errorToString(errno);
throw FileException(__FILE__, __LINE__, os.str());
}
FileTracker::instance()->addFile(file);