summaryrefslogtreecommitdiffstats
path: root/lib/maxfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/maxfd.c')
-rw-r--r--lib/maxfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/maxfd.c b/lib/maxfd.c
index dcd4d3db..529b3568 100644
--- a/lib/maxfd.c
+++ b/lib/maxfd.c
@@ -1,7 +1,7 @@
1#include "./maxfd.h" 1#include "./maxfd.h"
2#include <errno.h> 2#include <errno.h>
3 3
4long open_max (void) { 4long mp_open_max (void) {
5 long maxfd = 0L; 5 long maxfd = 0L;
6 /* Try sysconf(_SC_OPEN_MAX) first, as it can be higher than OPEN_MAX. 6 /* Try sysconf(_SC_OPEN_MAX) first, as it can be higher than OPEN_MAX.
7 * If that fails and the macro isn't defined, we fall back to an educated 7 * If that fails and the macro isn't defined, we fall back to an educated