diff options
| author | wiz <wiz@NetBSD.org> | 2000-11-28 18:44:46 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2000-11-28 18:44:46 +0000 |
| commit | 779cdb4e70efae684e46bd647a9e6996d11adf78 (patch) | |
| tree | 7c86c2640e6181bb06027a0e09480e634b447094 /gnu | |
| parent | 454f740bd42387682702a46a4a84b466d6eec8ff (diff) | |
Improve error output if executable file format isn't recognized.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gprof/core.c | 3 | ||||
| -rw-r--r-- | gnu/dist/toolchain/gprof/corefile.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gnu/dist/gprof/core.c b/gnu/dist/gprof/core.c index 318e088a584..4727202e618 100644 --- a/gnu/dist/gprof/core.c +++ b/gnu/dist/gprof/core.c @@ -126,7 +126,8 @@ DEFUN (core_init, (a_out_name), const char *a_out_name) if (!bfd_check_format (core_bfd, bfd_object)) { - fprintf (stderr, "%s: %s: not in a.out format\n", whoami, a_out_name); + fprintf (stderr, "%s: %s: unrecognized executable format\n", + whoami, a_out_name); done (1); } diff --git a/gnu/dist/toolchain/gprof/corefile.c b/gnu/dist/toolchain/gprof/corefile.c index 790fc286208..2a0ede0c323 100644 --- a/gnu/dist/toolchain/gprof/corefile.c +++ b/gnu/dist/toolchain/gprof/corefile.c @@ -125,7 +125,8 @@ DEFUN (core_init, (a_out_name), const char *a_out_name) if (!bfd_check_format (core_bfd, bfd_object)) { - fprintf (stderr, _("%s: %s: not in a.out format\n"), whoami, a_out_name); + fprintf (stderr, _("%s: %s: unrecognized executable format\n"), + whoami, a_out_name); done (1); } |
