Sysinfo: Fix use for non linux/bsd os's.

This fixes T5485
This commit is contained in:
Stephen 'Okra' Houston 2017-05-15 10:43:05 -05:00
parent 9d0bcd9ce2
commit 7d095c3fe3
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ _batman_config_updated(Instance *inst)
#elif defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
ok = _batman_sysctl_start(inst);
#else
ok = _batman_upower_start();
ok = _batman_upower_start(inst);
if (ok)
upower = EINA_TRUE;
#endif

View File

@ -161,7 +161,7 @@ _thermal_config_updated(Instance *inst)
_thermal_check_done,
tth, EINA_TRUE);
#else
inst->cfg->thermal.th = ecore_thread_feedback_run(_thermal_check_main,
inst->cfg->thermal.th = ecore_thread_feedback_run(_thermal_check_fallback,
_thermal_check_notify,
_thermal_check_done,
_thermal_check_done,