mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
Fix a copy+pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b48a8fddbf
commit
6f6021ecfe
@ -143,7 +143,8 @@ Path::GetTemporaryDirectory(std::string *ErrMsg) {
|
|||||||
// Linux and FreeBSD have it. Others probably won't.
|
// Linux and FreeBSD have it. Others probably won't.
|
||||||
char pathname[] = "/tmp/llvm_XXXXXX";
|
char pathname[] = "/tmp/llvm_XXXXXX";
|
||||||
if (0 == mkdtemp(pathname)) {
|
if (0 == mkdtemp(pathname)) {
|
||||||
MakeErrMsg(ErrMsg, pathname + ": can't create temporary directory");
|
MakeErrMsg(ErrMsg,
|
||||||
|
std::string(pathname) + ": can't create temporary directory");
|
||||||
return Path();
|
return Path();
|
||||||
}
|
}
|
||||||
Path result;
|
Path result;
|
||||||
|
Loading…
Reference in New Issue
Block a user