eina_cpu: Fix error handling in eina_cpu_fast_core_get
authorDerek Foreman <derekf@osg.samsung.com>
Mon, 19 Sep 2016 14:23:59 +0000 (09:23 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Mon, 19 Sep 2016 14:23:59 +0000 (09:23 -0500)
commitbd1de560a1403a3e549938ae244f2f04f7e0b990
treeb304b0e49946d8bb4e926ae9fb04b137a95ec9d9
parent8550a33b27b35065b4f5bd6defbece003e1af0de
eina_cpu: Fix error handling in eina_cpu_fast_core_get

I introduced a crash on linux systems where the cpufreq directory
doesn't exist.  This fixes it.
src/lib/eina/eina_cpu.c