Fix compile time failure

This commit is contained in:
Nick Clifton 2002-03-14 09:41:54 +00:00
parent 287ac7896d
commit c295a5111b
2 changed files with 5 additions and 1 deletions

View 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.

View File

@ -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;