Batman gadget upower typo fixes

Summary: this fixes two typo errors in batman.h and batman_upower.c

Reviewers: bu5hm4n, raster

Reviewed By: raster

Subscribers: cedric, zmike

Tags: #enlightenment_gadgets

Differential Revision: https://phab.enlightenment.org/D10964
This commit is contained in:
Carsten Haitzler 2019-12-28 22:02:53 +00:00
parent 322bbc8c03
commit 1f7c6cc07c
2 changed files with 2 additions and 2 deletions

View File

@ -350,7 +350,7 @@ _device_removed_cb(void *data, const Eldbus_Message *msg)
} }
} }
exists = EINA_FALSE; exists = EINA_FALSE;
adapters = _batman_ac_adapter_get(path); adapters = _batman_ac_adapter_find(path);
if (eina_list_count(adapters)) if (eina_list_count(adapters))
{ {
EINA_LIST_FOREACH(adapters, l, ac) EINA_LIST_FOREACH(adapters, l, ac)