diff --git a/src/post_modules/GTK/build_pgtk.pike b/src/post_modules/GTK/build_pgtk.pike
index 41d60003a378b4398e181a8c14f3f256af65437c..a66dd6638d40c277f159d7d6072933187366ba7a 100755
--- a/src/post_modules/GTK/build_pgtk.pike
+++ b/src/post_modules/GTK/build_pgtk.pike
@@ -1392,7 +1392,7 @@ void do_default_sprintf( int args, int offset, int len )
 	      post += ("  if (_arg"+na+"->size != "+
 		       (t=replace(t,({"{","}"}),({"(",")"})))+
 		       ") \n"
-		       "    error(\"argument "+na+" (array(string)) has wrong size (columns=%d, elements=%d)\n\","+t+",_arg"+na+"->size);"
+		       "    error(\"argument "+na+" (array(string)) has wrong size (columns=%d, elements=%d)\\n\","+t+",_arg"+na+"->size);"
 		       "  arg"+na+"=alloca(sizeof(char *)* (_arg"+na+"->size));\n"
 		       "  for(_i=0; _i<_arg"+na+"->size; _i++)\n"
 		       "  {\n"