aboutsummaryrefslogtreecommitdiff
path: root/src/lib/process/restrict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/process/restrict.c')
-rw-r--r--src/lib/process/restrict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/process/restrict.c b/src/lib/process/restrict.c
index 534b39d101..93d06de9a2 100644
--- a/src/lib/process/restrict.c
+++ b/src/lib/process/restrict.c
@@ -214,7 +214,7 @@ set_max_file_descriptors(rlim_t limit, int *max_out)
return -1;
}
limit = MAX_CONNECTIONS;
-#else /* !(!defined(HAVE_GETRLIMIT)) */
+#else /* defined(HAVE_GETRLIMIT) */
struct rlimit rlim;
if (getrlimit(RLIMIT_NOFILE, &rlim) != 0) {