svn commit: r327279 - head/usr.sbin/fwcontrol

Warner Losh imp at FreeBSD.org
Thu Dec 28 05:34:45 UTC 2017


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);
 }


More information about the svn-src-all mailing list