diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-05-28 18:34:11 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-05-28 18:34:11 +0100 |
commit | 6cffd02a8ddf04cd266c343554593c3100904325 (patch) | |
tree | a24eb0bd1b48354a10e7d1fb1a4f43e3d142f0d0 /gcc/gcc.c | |
parent | 2dec80c756fb7a85f1c6f236386e230d19ccbe26 (diff) | |
download | gcc-6cffd02a8ddf04cd266c343554593c3100904325.zip gcc-6cffd02a8ddf04cd266c343554593c3100904325.tar.gz gcc-6cffd02a8ddf04cd266c343554593c3100904325.tar.bz2 |
* gcc.c (error, warning, inform): Remove duplicate ": " in output.
From-SVN: r159987
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7723,7 +7723,7 @@ error (const char *gmsgid, ...) va_start (ap, gmsgid); error_count++; - fprintf (stderr, "%s: %s: ", programname, _("error: ")); + fprintf (stderr, "%s: %s", programname, _("error: ")); vfprintf (stderr, _(gmsgid), ap); va_end (ap); @@ -7736,7 +7736,7 @@ warning (int dummy ATTRIBUTE_UNUSED, const char *gmsgid, ...) va_list ap; va_start (ap, gmsgid); - fprintf (stderr, "%s: %s: ", programname, _("warning: ")); + fprintf (stderr, "%s: %s", programname, _("warning: ")); vfprintf (stderr, _(gmsgid), ap); va_end (ap); @@ -7749,7 +7749,7 @@ inform (int dummy ATTRIBUTE_UNUSED, const char *gmsgid, ...) va_list ap; va_start (ap, gmsgid); - fprintf (stderr, "%s: %s: ", programname, _("note: ")); + fprintf (stderr, "%s: %s", programname, _("note: ")); vfprintf (stderr, _(gmsgid), ap); va_end (ap); |