From 4fda00759ed261c7733988f39c714daa4006d346 Mon Sep 17 00:00:00 2001 From: Marcos Mello Date: Sun, 25 Oct 2015 05:35:16 -0700 Subject: [PATCH] Bug 4281: copy-paste typos in src/tools.cc --- src/tools.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools.cc b/src/tools.cc index 5523e45531..3176bab2a9 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -810,7 +810,7 @@ setMaxFD(void) #endif if (getrlimit(RLIMIT_NOFILE, &rl) < 0) { - debugs(50, DBG_CRITICAL, "setrlimit: RLIMIT_NOFILE: " << xstrerror()); + debugs(50, DBG_CRITICAL, "getrlimit: RLIMIT_NOFILE: " << xstrerror()); } else if (Config.max_filedescriptors > 0) { #if USE_SELECT || USE_SELECT_WIN32 /* select() breaks if this gets set too big */ @@ -856,7 +856,7 @@ setSystemLimits(void) #endif if (getrlimit(RLIMIT_NOFILE, &rl) < 0) { - debugs(50, DBG_CRITICAL, "setrlimit: RLIMIT_NOFILE: " << xstrerror()); + debugs(50, DBG_CRITICAL, "getrlimit: RLIMIT_NOFILE: " << xstrerror()); } else { rl.rlim_cur = Squid_MaxFD; if (setrlimit(RLIMIT_NOFILE, &rl) < 0) { -- 2.47.3