diff options
Diffstat (limited to 'usr.bin/ar/contents.c')
-rw-r--r-- | usr.bin/ar/contents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ar/contents.c b/usr.bin/ar/contents.c index b2db77a..ffa4856 100644 --- a/usr.bin/ar/contents.c +++ b/usr.bin/ar/contents.c @@ -65,7 +65,7 @@ contents(argv) int afd, all; struct tm *tp; char *file, buf[25]; - + afd = open_archive(O_RDONLY); for (all = !*argv; get_arobj(afd);) { @@ -85,7 +85,7 @@ contents(argv) if (!all && !*argv) break; next: skip_arobj(afd); - } + } close_archive(afd); if (*argv) { |