summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Executable/complex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r--Tests/Complex/Executable/complex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 29bf4cd..adf99d7 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -118,9 +118,9 @@ int main()
cmLibHandle handle = cmDynamicLoader::OpenLibrary(lib.c_str());
if(!handle)
{
- std::string err = "Can not open CMakeTestModule:";
+ std::string err = "Can not open CMakeTestModule:\n";
err += lib;
- cmFailed(lib.c_str());
+ cmFailed(err.c_str());
}
else
{