summaryrefslogtreecommitdiff
path: root/binutils/arsup.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-15 02:24:53 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-15 02:24:53 +0000
commit7183e1cdb71e0533bc48a1c5619622aaececffe2 (patch)
tree3dc2f07bee82f3528f55e7a99cb83c53734e5bfa /binutils/arsup.c
parenta3c4a418f339e4ef2e051c9ac154da24d70a5e7d (diff)
downloadbinutils-redhat-7183e1cdb71e0533bc48a1c5619622aaececffe2.tar.gz
Use bfd_cache_close, instead of accessing bfd->iostream directly.
Diffstat (limited to 'binutils/arsup.c')
-rw-r--r--binutils/arsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/arsup.c b/binutils/arsup.c
index 676a6bc14c..a621bf9b3f 100644
--- a/binutils/arsup.c
+++ b/binutils/arsup.c
@@ -433,7 +433,7 @@ ar_end (void)
{
if (obfd)
{
- fclose ((FILE *)(obfd->iostream));
+ bfd_cache_close (obfd);
unlink (bfd_get_filename (obfd));
}
}