Rename Path::get -> Path::toString
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18802 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/SunOS/Path.cpp b/lib/System/SunOS/Path.cpp
index 7fac37d..db6db19 100644
--- a/lib/System/SunOS/Path.cpp
+++ b/lib/System/SunOS/Path.cpp
@@ -43,7 +43,7 @@
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;
}