diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 2fb81b722..46204b0f1 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2345,14 +2345,14 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile, if(!fout) { cmSystemTools::Error( - "Could not open file for write in copy operatation ", + "Could not open file for write in copy operation ", tempOutputFile.c_str()); return 0; } std::ifstream fin(sinfile.c_str()); if(!fin) { - cmSystemTools::Error("Could not open file for read in copy operatation ", + cmSystemTools::Error("Could not open file for read in copy operation ", sinfile.c_str()); return 0; } diff --git a/Source/cmUseMangledMesaCommand.cxx b/Source/cmUseMangledMesaCommand.cxx index d780dfff8..955607364 100644 --- a/Source/cmUseMangledMesaCommand.cxx +++ b/Source/cmUseMangledMesaCommand.cxx @@ -78,14 +78,14 @@ CopyAndFullPathMesaHeader(const char* source, std::ofstream fout(tempOutputFile.c_str()); if(!fout) { - cmSystemTools::Error("Could not open file for write in copy operatation: ", + cmSystemTools::Error("Could not open file for write in copy operation: ", tempOutputFile.c_str(), outdir); return; } std::ifstream fin(source); if(!fin) { - cmSystemTools::Error("Could not open file for read in copy operatation", + cmSystemTools::Error("Could not open file for read in copy operation", source); return; }