aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/bfd.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5c43097..00cc692 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-22 Nick Clifton <nickc@redhat.com>
+
+ * bfd.c (bfd_archive_filename): Return NULL on NULL input.
+
2004-04-22 Peter Barada <peter@the-baradas.com>
* archures.c: Add bfd_mach_mcfv4e to bfd_architecture.
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)
{