summaryrefslogtreecommitdiff
path: root/Source/cmMakeDirectoryCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakeDirectoryCommand.cxx')
-rw-r--r--Source/cmMakeDirectoryCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakeDirectoryCommand.cxx b/Source/cmMakeDirectoryCommand.cxx
index 63be627341..cc871c93c3 100644
--- a/Source/cmMakeDirectoryCommand.cxx
+++ b/Source/cmMakeDirectoryCommand.cxx
@@ -24,7 +24,7 @@ bool cmMakeDirectoryCommand
{
std::string e = "attempted to create a directory: " + args[0]
+ " into a source directory.";
- this->SetError(e.c_str());
+ this->SetError(e);
cmSystemTools::SetFatalErrorOccured();
return false;
}