summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fwcontrol
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2010-12-09 08:36:23 +0000
committerkevlo <kevlo@FreeBSD.org>2010-12-09 08:36:23 +0000
commit1ed95baa673569e9bf6a6dbf4b1dad18e3c77e7c (patch)
treed9bc35c81c4859cf610f8b984774eb915aa5566a /usr.sbin/fwcontrol
parentf62cda71542930a365fdb33253b1349da40fcec6 (diff)
downloadFreeBSD-src-1ed95baa673569e9bf6a6dbf4b1dad18e3c77e7c.zip
FreeBSD-src-1ed95baa673569e9bf6a6dbf4b1dad18e3c77e7c.tar.gz
Closing fd when it's done
Reviewed by: sbruno
Diffstat (limited to 'usr.sbin/fwcontrol')
-rw-r--r--usr.sbin/fwcontrol/fwcontrol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/fwcontrol/fwcontrol.c b/usr.sbin/fwcontrol/fwcontrol.c
index 509d25d..6aa365a 100644
--- a/usr.sbin/fwcontrol/fwcontrol.c
+++ b/usr.sbin/fwcontrol/fwcontrol.c
@@ -508,6 +508,7 @@ load_crom(char *filename, u_int32_t *p)
p, p+1, p+2, p+3, p+4, p+5, p+6, p+7);
p += 8;
}
+ fclose(file);
}
static void
OpenPOWER on IntegriCloud