diff options
author | Nick Clifton <nickc@redhat.com> | 2004-04-22 10:43:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-04-22 10:43:34 +0000 |
commit | 01394a945a8d0e2764a10a7dfff20fa7757232c0 (patch) | |
tree | d7bf1b68d69f0a064b8d86d502630f7fcfa96a09 /bfd/bfd.c | |
parent | 58582b87ee7035b19ce82fe5fce070b380dbc91e (diff) | |
download | gdb-01394a945a8d0e2764a10a7dfff20fa7757232c0.tar.gz |
Have bfd_archive_filename() return NULL on NULL input
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r-- | bfd/bfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c index 524e7d2af33..f8ed3407637 100644 --- a/bfd/bfd.c +++ b/bfd/bfd.c @@ -509,7 +509,7 @@ const char * bfd_archive_filename (bfd *abfd) { if (abfd == NULL) - return _("<unknown>"); + return NULL; if (abfd->my_archive) { |