Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/fwctl PR bin/44230: Missing close.
details: https://anonhg.NetBSD.org/src/rev/031edbe510ad
branches: trunk
changeset: 759585:031edbe510ad
user: cegger <cegger%NetBSD.org@localhost>
date: Mon Dec 13 11:51:23 2010 +0000
description:
PR bin/44230: Missing close.
diffstat:
usr.sbin/fwctl/fwcontrol.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c3a5e9897852 -r 031edbe510ad usr.sbin/fwctl/fwcontrol.c
--- a/usr.sbin/fwctl/fwcontrol.c Mon Dec 13 10:07:46 2010 +0000
+++ b/usr.sbin/fwctl/fwcontrol.c Mon Dec 13 11:51:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fwcontrol.c,v 1.10 2010/08/26 07:04:04 cegger Exp $ */
+/* $NetBSD: fwcontrol.c,v 1.11 2010/12/13 11:51:23 cegger Exp $ */
/*
* Copyright (C) 2002
* Hidetoshi Shimokawa. All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
//__FBSDID("$FreeBSD: src/usr.sbin/fwcontrol/fwcontrol.c,v 1.23 2006/10/26 22:33:38 imp Exp $");
-__RCSID("$NetBSD: fwcontrol.c,v 1.10 2010/08/26 07:04:04 cegger Exp $");
+__RCSID("$NetBSD: fwcontrol.c,v 1.11 2010/12/13 11:51:23 cegger Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -492,6 +492,7 @@
fscanf(file, DUMP_FORMAT, p, p+1, p+2, p+3, p+4, p+5, p+6, p+7);
p += 8;
}
+ fclose(file);
}
static void
Home |
Main Index |
Thread Index |
Old Index