Sysinfo: Fix use for non linux/bsd os's.
This fixes T5485
This commit is contained in:
parent
9d0bcd9ce2
commit
7d095c3fe3
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue