summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ping6/ping6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 24176f0..d9f49b9 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1029,8 +1029,6 @@ main(argc, argv)
tv = &timeout;
} else
tv = NULL;
- if (s >= FD_SETSIZE)
- errx(1, "descriptor too big");
memset(fdmaskp, 0, fdmasks);
FD_SET(s, fdmaskp);
cc = select(s + 1, fdmaskp, NULL, NULL, tv);
OpenPOWER on IntegriCloud