Index: base/sys_info_posix.cc |
diff --git a/base/sys_info_posix.cc b/base/sys_info_posix.cc |
index 8a83f3c6afd3e6c1b2b59570a62f17c4281c9823..388ccba4b9ec7d3edd7356f2f29f5bac5d54de7c 100644 |
--- a/base/sys_info_posix.cc |
+++ b/base/sys_info_posix.cc |
@@ -39,7 +39,7 @@ int SysInfo::NumberOfProcessors() { |
#else |
// It seems that sysconf returns the number of "logical" processors on both |
// mac and linux. So we get the number of "online logical" processors. |
- static long res = sysconf(_SC_NPROCESSORS_ONLN); |
+ long res = sysconf(_SC_NPROCESSORS_ONLN); |
if (res == -1) { |
NOTREACHED(); |
return 1; |