summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-03-14 09:41:54 +0000
committerNick Clifton <nickc@redhat.com>2002-03-14 09:41:54 +0000
commitd595bbf03cfce94c987e392d92d6bbb18bcd3b84 (patch)
treed479d5f9a1bf25f9171d7dd2837e47f3ad206fa7
parent47d8643ce172ffa8a4f0d6fabc2fbd288824110b (diff)
downloadbinutils-redhat-d595bbf03cfce94c987e392d92d6bbb18bcd3b84.tar.gz
Fix compile time failure
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/mmo.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ca7dfbd76e..d4e3a3b2cc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-14 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * mmo.c (mmo_get_loc): Return NULL rather than false.
+
2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
* po/fr.po: Updated version.
diff --git a/bfd/mmo.c b/bfd/mmo.c
index 31ba035645..bc3b147529 100644
--- a/bfd/mmo.c
+++ b/bfd/mmo.c
@@ -1523,7 +1523,7 @@ mmo_get_loc (sec, vma, size)
entry = (mmo_data_list_type *)
bfd_zalloc (sec->owner, sizeof (mmo_data_list_type) + allocated_size);
if (entry == NULL)
- return false;
+ return NULL;
entry->where = vma;
entry->size = size;
entry->allocated_size = allocated_size;