aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-04-22 10:43:34 +0000
committerNick Clifton <nickc@redhat.com>2004-04-22 10:43:34 +0000
commitd2f7ecac2c3c1058a1d07d19dc095eac7170ff7f (patch)
tree47928506f0c4bb4c3d5a87485bb75314439a108c /bfd/bfd.c
parentfd99574ba57795ede14cf8644ab4180facff4f17 (diff)
downloadgdb-d2f7ecac2c3c1058a1d07d19dc095eac7170ff7f.zip
gdb-d2f7ecac2c3c1058a1d07d19dc095eac7170ff7f.tar.gz
gdb-d2f7ecac2c3c1058a1d07d19dc095eac7170ff7f.tar.bz2
Have bfd_archive_filename() return NULL on NULL input
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 524e7d2..f8ed340 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)
{