aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/size/size.c
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
commita16f65c7d117419bd266c28a1901ef129a337569 (patch)
tree2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /usr.bin/size/size.c
parent8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff)
This commit was manufactured to restore the state of the 1.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'usr.bin/size/size.c')
-rw-r--r--usr.bin/size/size.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/size/size.c b/usr.bin/size/size.c
index f9edda6fd059..f91bd5cce839 100644
--- a/usr.bin/size/size.c
+++ b/usr.bin/size/size.c
@@ -96,6 +96,7 @@ show(count, name)
}
if (read(fd, &head, sizeof(head)) != sizeof(head) || N_BADMAG(head)) {
err("%s: not in a.out format", name);
+ (void)close(fd);
return (1);
}
(void)close(fd);