From d8dfc65f4378db309b92e340587e6b5f6aa1ba41 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 28 Dec 2017 05:34:38 +0000 Subject: [PATCH] Close fd when we're done dv-sending the file. CID: 978413 --- usr.sbin/fwcontrol/fwdv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/fwcontrol/fwdv.c b/usr.sbin/fwcontrol/fwdv.c index e35281f73735..0dbf17d04a42 100644 --- a/usr.sbin/fwcontrol/fwdv.c +++ b/usr.sbin/fwcontrol/fwdv.c @@ -417,4 +417,5 @@ send_end: + (end.tv_usec - start.tv_usec) * 1e-6; fprintf(stderr, "%d frames, %.2f secs, %.2f frames/sec\n", frames, rtime, frames/rtime); + close(fd); }