diff options
author | Nick Clifton <nickc@redhat.com> | 2002-03-14 09:41:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-03-14 09:41:54 +0000 |
commit | 8951a74bcff2c3df40b32a60f081369e2c04453d (patch) | |
tree | 836f26c85d13377d627ad3cfc9bf497d62fbcf7e /bfd | |
parent | a6e933906750343e5efb538ddf0d64b45f7078e7 (diff) | |
download | gdb-8951a74bcff2c3df40b32a60f081369e2c04453d.tar.gz |
Fix compile time failure
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/mmo.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca7dfbd76eb..d4e3a3b2cc5 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 31ba035645e..bc3b1475294 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; |