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

Kevin Lo kevlo at FreeBSD.org
Thu Dec 9 08:36:23 UTC 2010


Author: kevlo
Date: Thu Dec  9 08:36:23 2010
New Revision: 216321
URL: http://svn.freebsd.org/changeset/base/216321

Log:
  Closing fd when it's done
  
  Reviewed by:	sbruno

Modified:
  head/usr.sbin/fwcontrol/fwcontrol.c

Modified: head/usr.sbin/fwcontrol/fwcontrol.c
==============================================================================
--- head/usr.sbin/fwcontrol/fwcontrol.c	Thu Dec  9 07:47:40 2010	(r216320)
+++ head/usr.sbin/fwcontrol/fwcontrol.c	Thu Dec  9 08:36:23 2010	(r216321)
@@ -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


More information about the svn-src-all mailing list