fix printf is a macro in gcc 3
[fw/sdcc] / sim / ucsim / cmd.src / cmdgui.cc
index 96d77951c383ac8f568684c7b73845574e6f0347..cd10416eb831d3888d237fc0280234c8e8cbe079 100644 (file)
@@ -65,8 +65,8 @@ COMMAND_DO_WORK_UC(cl_gui_start_cmd)
   }
   else
     {
-      con->printf("Error: wrong syntax\n"
-                 "%s\n", short_help?short_help:"no help");
+      con->dd_printf("Error: wrong syntax\n"
+                    "%s\n", short_help?short_help:"no help");
     }
 
   return(DD_FALSE);;