diff options
Diffstat (limited to 'lib/System/SunOS/Path.cpp')
-rw-r--r-- | lib/System/SunOS/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/SunOS/Path.cpp b/lib/System/SunOS/Path.cpp index 7fac37d8d2..db6db19c38 100644 --- a/lib/System/SunOS/Path.cpp +++ b/lib/System/SunOS/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; } |