From 53584cf69cafbb96a15c374aba625786ea1f3ddb Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 5 Jan 2018 05:34:20 +0000 Subject: [PATCH] Don't close fd twice. This line should have been deleted in r327279. CID: 1384015 --- usr.sbin/fwcontrol/fwdv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.sbin/fwcontrol/fwdv.c b/usr.sbin/fwcontrol/fwdv.c index 0dbf17d04a4..2baf1c43c80 100644 --- a/usr.sbin/fwcontrol/fwdv.c +++ b/usr.sbin/fwcontrol/fwdv.c @@ -409,7 +409,6 @@ again: err(1, "write failed"); } } - close(fd); fprintf(stderr, "\n"); send_end: gettimeofday(&end, NULL);