aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-01-09 09:03:38 +0000
committerRichard Stallman <rms@gnu.org>1993-01-09 09:03:38 +0000
commitc10afc44d5e8cef1a4fc67f5122cc85924b1eb04 (patch)
treea2155f87f3dc8da91c66589a3dc19df347008f79 /gcc/toplev.c
parent96f153da76ef81ea180b17b192f4603710b86c83 (diff)
downloadgcc-c10afc44d5e8cef1a4fc67f5122cc85924b1eb04.zip
gcc-c10afc44d5e8cef1a4fc67f5122cc85924b1eb04.tar.gz
gcc-c10afc44d5e8cef1a4fc67f5122cc85924b1eb04.tar.bz2
(really_sorry): Use progname in error message, not c++.
From-SVN: r3166
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index c700ce3..4b8a937 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -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);