diff options
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index cb568256c7..3d29f3afd9 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4665,7 +4665,7 @@ static void init_printer_values(struct service *pService) */ static int max_open_files(void) { - int sysctl_max; + int sysctl_max = MAX_OPEN_FILES; struct rlimit rl; bool sysctl_worked = false, rlimit_worked = false; |