]> granicus.if.org Git - icinga2/commitdiff
Fix typo 6250/head
authorJean Flach <jean-marcel.flach@icinga.com>
Mon, 23 Apr 2018 08:18:31 +0000 (10:18 +0200)
committerJean Flach <jean-marcel.flach@icinga.com>
Mon, 23 Apr 2018 08:18:31 +0000 (10:18 +0200)
lib/base/application.cpp

index 5cedbf5d65b1086be63a7b26b08cf5cc4292c2d4..12b5e62f136f86dc7cd82bbd894b2762df80bfd7 100644 (file)
@@ -179,7 +179,7 @@ void Application::SetResourceLimits()
 
                if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
                        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 */
                Log(LogNotice, "Application", "System does not support adjusting the resource limit for open file handles (RLIMIT_NOFILE)");
 #      endif /* RLIMIT_NOFILE */