print the right string, thanks for Frits for noticing.

llvm-svn: 122636
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 39d5747..025aec9 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -1220,7 +1220,7 @@
   if (!Src->getTargetTriple().empty() &&
       Dest->getTargetTriple() != Src->getTargetTriple())
     errs() << "WARNING: Linking two modules of different target triples: '"
-           << Src->getTargetTriple() << "' and '" << Dest->getDataLayout()
+           << Src->getTargetTriple() << "' and '" << Dest->getTargetTriple()
            << "'\n";
 
   // Append the module inline asm string.