diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-01-09 21:54:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-01-09 21:54:52 +0000 |
commit | e411dda718b1d08dcd36a2288e43dccc8175fbe8 (patch) | |
tree | 0c54d72a42c2b50049efa529e0915411ba19def9 /cpukit | |
parent | 2007-01-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e411dda718b1d08dcd36a2288e43dccc8175fbe8.tar.bz2 |
2007-01-09 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/error.c: rtems_progname is no longer defined in
the BSP startup since it never held a meaningful value.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/src/error.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 63a4c9d216..335f3a3679 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2007-01-09 Joel Sherrill <joel@OARcorp.com> + + * libcsupport/src/error.c: rtems_progname is no longer defined in + the BSP startup since it never held a meaningful value. + 2007-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> * posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/ diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c index 5af6c41bef..38459e5eec 100644 --- a/cpukit/libcsupport/src/error.c +++ b/cpukit/libcsupport/src/error.c @@ -61,7 +61,6 @@ char *strerror(int); #endif -extern char *rtems_progname; int rtems_panic_in_progress; rtems_assoc_t rtems_status_assoc[] = { @@ -136,8 +135,6 @@ static int rtems_verror( if (_System_state_Is_multiprocessing) fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node); - if (rtems_progname && *rtems_progname) - chars_written += fprintf(stderr, "%s: ", rtems_progname); chars_written += vfprintf(stderr, printf_format, arglist); if (status) |