daily update
[binutils-gdb.git] / bfd / cache.c
index 88f89b169aabf956cd16d8c4061ebf7b310c7e58..52268162c268ebf01486208b49e0a1b223d5e065 100644 (file)
@@ -362,7 +362,7 @@ cache_bwrite (struct bfd *abfd, const void *where, file_ptr nbytes)
 static int
 cache_bclose (struct bfd *abfd)
 {
-  return bfd_cache_close (abfd);
+  return bfd_cache_close (abfd) - 1;
 }
 
 static int