From 1a28a37578c5e5d22b5a765d033548dbe0d3d134 Mon Sep 17 00:00:00 2001 From: "Christian S.J. Peron" Date: Thu, 5 Aug 2010 18:49:06 +0000 Subject: [PATCH] Enable closefrom(2) here, as we have supported it for some time now. Discussed with: mlaier MFC after: 2 weeks --- contrib/pf/pflogd/pflogd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/pf/pflogd/pflogd.c b/contrib/pf/pflogd/pflogd.c index 74e35693c63a..b470ae1cb468 100644 --- a/contrib/pf/pflogd/pflogd.c +++ b/contrib/pf/pflogd/pflogd.c @@ -583,11 +583,7 @@ main(int argc, char **argv) pcap_handler phandler = dump_packet; const char *errstr = NULL; -#ifdef __FreeBSD__ - /* another ?paranoid? safety measure we do not have */ -#else closefrom(STDERR_FILENO + 1); -#endif while ((ch = getopt(argc, argv, "Dxd:f:i:s:")) != -1) { switch (ch) {