From: Marcos Mello Date: Tue, 27 Oct 2015 22:47:21 +0000 (-0700) Subject: Bug 4281: copy-paste typos in src/tools.cc X-Git-Tag: SQUID_3_5_11~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=131ffaf360ffc442f8d1dfbc959c94b51a2e31cb;p=thirdparty%2Fsquid.git Bug 4281: copy-paste typos in src/tools.cc --- diff --git a/src/tools.cc b/src/tools.cc index 9d9f7aff9a..e0c7cd74c3 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -840,7 +840,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 */ @@ -886,7 +886,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) {