X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fcache.c;h=52268162c268ebf01486208b49e0a1b223d5e065;hb=405bf443e52b6986413e7b02cb783e4ae92b0dda;hp=b1dcd5a745b63f282308066ce98df7cc20baba27;hpb=9053b70efaad3b15547d74badd23cc9a32330cdd;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/cache.c b/bfd/cache.c index b1dcd5a745..52268162c2 100644 --- a/bfd/cache.c +++ b/bfd/cache.c @@ -359,10 +359,10 @@ cache_bwrite (struct bfd *abfd, const void *where, file_ptr nbytes) return nwrite; } -static bfd_boolean +static int cache_bclose (struct bfd *abfd) { - return bfd_cache_close (abfd); + return bfd_cache_close (abfd) - 1; } static int