diff --git a/compiler2/ttcn3/Ttcnstuff.cc b/compiler2/ttcn3/Ttcnstuff.cc
index df63013b3c257a01984f07b801b6c3eac9fa36d2..6ee5e66d1a1420a0ae9d1e1ba99fa6ca01324221 100644
--- a/compiler2/ttcn3/Ttcnstuff.cc
+++ b/compiler2/ttcn3/Ttcnstuff.cc
@@ -1441,7 +1441,6 @@ namespace Ttcn {
             error("Neither out message type `%s', nor one of its target"
               "mappings are present in the out or inout message list of the port `%s'.",
               out_list->get_type_byIndex(j)->get_typename().c_str(),
-              out_list->get_type_byIndex(j)->get_typename().c_str(),
               provider_types[i]->get_dispname().c_str());
           }
         }
diff --git a/function_test/Semantic_Analyser/port_translation/PortTranslate_SE.ttcn b/function_test/Semantic_Analyser/port_translation/PortTranslate_SE.ttcn
index 919feab89e7118f721a9c1ef46423dee83337349..949d45a4f1343595ab41d138c8f8f28576c6e223 100644
--- a/function_test/Semantic_Analyser/port_translation/PortTranslate_SE.ttcn
+++ b/function_test/Semantic_Analyser/port_translation/PortTranslate_SE.ttcn
@@ -96,7 +96,7 @@ module PortTranslate_SE { //^In TTCN-3 module//
 		inout integer
 	}
 
-	type port PT8 message map to P7 { //^In translation capability\:// //^In type definition \`PT8\'\://  //^error\: Out message type \`integer\'\, or one of the target mappings of out message type \`integer\' is not present in the out or inout message list of the port \`P7\'\.//
+	type port PT8 message map to P7 { //^In translation capability\:// //^In type definition \`PT8\'\://  //^error\: Neither out message type \`integer\'\, nor one of its targetmappings are present in the out or inout message list of the port \`P7\'\.//
 		out integer
 		in charstring
 	}
@@ -184,7 +184,7 @@ module PortTranslate_SE { //^In TTCN-3 module//
 		extension "provider"
 	}
 
-	type port PT15 message map to P9 { //^In type definition \`PT15\'\:// //^In translation capability\:// //^error\: Out message type \`integer\'\, or one of the target mappings of out message type \`integer\' is not present in the out or inout message list of the port \`P9\'\.//
+	type port PT15 message map to P9 { //^In type definition \`PT15\'\:// //^In translation capability\:// //^error\: Neither out message type \`integer\'\, nor one of its targetmappings are present in the out or inout message list of the port \`P9\'\.//
 		out integer to charstring with int_to_char() : octetstring with int_to_oct()
 	}