summaryrefslogtreecommitdiffstats
path: root/lib/maxfd.h
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-09-23 10:33:06 +0200
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-09-23 10:33:06 +0200
commit4295decfbf06adfa1bf019d28e9044971607b2d6 (patch)
tree416ac41722c554dab36231440b0f2846375a8b82 /lib/maxfd.h
parentbef0d0dd4ab04ac1189071526fae4031bec36b1d (diff)
downloadmonitoring-plugins-4295dec.tar.gz
open_max is a library function now, it should be mp_open_max
Diffstat (limited to 'lib/maxfd.h')
-rw-r--r--lib/maxfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/maxfd.h b/lib/maxfd.h
index 0d734c5c..45218d0f 100644
--- a/lib/maxfd.h
+++ b/lib/maxfd.h
@@ -4,6 +4,6 @@
4#define DEFAULT_MAXFD 256 /* fallback value if no max open files value is set */ 4#define DEFAULT_MAXFD 256 /* fallback value if no max open files value is set */
5#define MAXFD_LIMIT 8192 /* upper limit of open files */ 5#define MAXFD_LIMIT 8192 /* upper limit of open files */
6 6
7long open_max (void); 7long mp_open_max (void);
8 8
9#endif // _MAXFD_ 9#endif // _MAXFD_