From: Amos Jeffries Date: Thu, 7 Apr 2016 11:12:09 +0000 (+1200) Subject: Fix missing variable type after rev.14625 X-Git-Tag: SQUID_4_0_9~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20c05acd7316405242e6deb374e549650daf6f06;p=thirdparty%2Fsquid.git Fix missing variable type after rev.14625 --- diff --git a/src/tools.cc b/src/tools.cc index dfe67b2061..c5c64b0032 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -909,7 +909,7 @@ setSystemLimits(void) rl.rlim_cur = rl.rlim_max; /* set it to the max */ if (setrlimit(RLIMIT_VMEM, &rl) < 0) { - xerrno = errno; + int xerrno = errno; snprintf(tmp_error_buf, ERROR_BUF_SZ, "setrlimit: RLIMIT_VMEM: %s", xstrerr(xerrno)); fatal_dump(tmp_error_buf); }