add a zero of cpu.. just in case.

SVN revision: 41195
This commit is contained in:
Carsten Haitzler 2009-06-25 14:59:12 +00:00
parent f60c798f1d
commit e420003d7e
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ evas_common_cpu_count(void)
if (cpus != 0) return cpus;
CPU_ZERO(&cpu);
if (sched_getaffinity(0, sizeof(cpu), &cpu) != 0)
{
printf("[Evas] could not get cpu affinity: %s\n", strerror(errno));