OSDN Git Service

(really_sorry): Use progname in error message, not c++.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jan 1993 09:03:38 +0000 (09:03 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jan 1993 09:03:38 +0000 (09:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3166 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/toplev.c

index c700ce3..4b8a937 100644 (file)
@@ -1246,7 +1246,7 @@ really_sorry (s, v, v2)
   if (input_filename)
     fprintf (stderr, "%s:%d: ", input_filename, lineno);
   else
-    fprintf (stderr, "c++: ");
+    fprintf (stderr, "%s: ", progname);
 
   fprintf (stderr, "sorry, not implemented: ");
   fprintf (stderr, s, v, v2);