This commit is contained in:
Jean Flach 2018-04-23 10:18:31 +02:00
parent 3c4085b1bb
commit 2c8dfcc1aa
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ void Application::SetResourceLimits()
if (setrlimit(RLIMIT_NOFILE, &rl) < 0) if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
Log(LogWarning, "Application") Log(LogWarning, "Application")
<< "Failed adjust resource limit for open file handles (RLIMIT_NOFILE) with error \"" << strerror(errno) << "\""; << "Failed to adjust resource limit for open file handles (RLIMIT_NOFILE) with error \"" << strerror(errno) << "\"";
# else /* RLIMIT_NOFILE */ # else /* RLIMIT_NOFILE */
Log(LogNotice, "Application", "System does not support adjusting the resource limit for open file handles (RLIMIT_NOFILE)"); Log(LogNotice, "Application", "System does not support adjusting the resource limit for open file handles (RLIMIT_NOFILE)");
# endif /* RLIMIT_NOFILE */ # endif /* RLIMIT_NOFILE */