aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Cygwin/Path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Cygwin/Path.cpp')
-rw-r--r--lib/System/Cygwin/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Cygwin/Path.cpp b/lib/System/Cygwin/Path.cpp
index 3b95665f16..01a40da4e7 100644
--- a/lib/System/Cygwin/Path.cpp
+++ b/lib/System/Cygwin/Path.cpp
@@ -43,7 +43,7 @@ Path::GetTemporaryDirectory() {
free(pathname);
assert(result.isValid() && "tempnam didn't create a valid pathname!");
if (0 != mkdir(result.c_str(), S_IRWXU))
- ThrowErrno(result.get() + ": Can't create temporary directory");
+ ThrowErrno(result.toString() + ": Can't create temporary directory");
return result;
}