Author: imp Date: Thu Dec 28 05:34:38 2017 New Revision: 327279 URL: https://svnweb.freebsd.org/changeset/base/327279
Log: Close fd when we're done dv-sending the file. CID: 978413 Modified: head/usr.sbin/fwcontrol/fwdv.c Modified: head/usr.sbin/fwcontrol/fwdv.c ============================================================================== --- head/usr.sbin/fwcontrol/fwdv.c Thu Dec 28 05:34:34 2017 (r327278) +++ head/usr.sbin/fwcontrol/fwdv.c Thu Dec 28 05:34:38 2017 (r327279) @@ -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); } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"