Fix compile time failure
authorNick Clifton <nickc@redhat.com>
Thu, 14 Mar 2002 09:41:54 +0000 (09:41 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 14 Mar 2002 09:41:54 +0000 (09:41 +0000)
bfd/ChangeLog
bfd/mmo.c

index ca7dfbd76eb93f941bd6ad50e5a8f6f1a1a00954..d4e3a3b2cc5f2a1249e7190d05eaa4e0b1f72be0 100644 (file)
@@ -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.
index 31ba035645eab8391b9f0a701c285ddc17cc3a67..bc3b1475294e8da647c4017080c4ae3bd4eea135 100644 (file)
--- 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;