aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/corefile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 97d68b0..7ed4a62 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-21 Ben Elliston <bje@au.ibm.com>
+
+ * corefile.c (core_init): Report that the executable is not in the
+ expected executable format rather than "a.out" format.
+
2006-03-09 Nick Clifton <nickc@redhat.com>
* po/sv.po: Updated Swedish translation.
diff --git a/gprof/corefile.c b/gprof/corefile.c
index e02d958..a8620ef 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -155,7 +155,7 @@ core_init (const char *aout_name)
if (!bfd_check_format (core_bfd, bfd_object))
{
- fprintf (stderr, _("%s: %s: not in a.out format\n"), whoami, aout_name);
+ fprintf (stderr, _("%s: %s: not in executable format\n"), whoami, aout_name);
done (1);
}