]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix missing variable type after rev.14625
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 7 Apr 2016 11:12:09 +0000 (23:12 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 7 Apr 2016 11:12:09 +0000 (23:12 +1200)
src/tools.cc

index dfe67b2061a7b482b9c1c78f3fa4bc81bf6266bf..c5c64b0032dbc4bfdf6ace53a2c58243f347b362 100644 (file)
@@ -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);
         }