aboutsummaryrefslogtreecommitdiff
path: root/bfd/opncls.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/opncls.c')
-rw-r--r--bfd/opncls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c
index b86bbab..b1da1cd 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -242,7 +242,7 @@ bfd_fopen (const char *filename, const char *target, const char *mode, int fd)
else
nbfd->direction = write_direction;
- if (! bfd_cache_init (nbfd))
+ if (! bfd_mmap_init (nbfd))
{
_bfd_delete_bfd (nbfd);
return NULL;
@@ -400,7 +400,7 @@ bfd_openstreamr (const char *filename, const char *target, void *streamarg)
nbfd->filename = xstrdup (filename);
nbfd->direction = read_direction;
- if (! bfd_cache_init (nbfd))
+ if (! bfd_mmap_init (nbfd))
{
_bfd_delete_bfd (nbfd);
return NULL;