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

@ -99,7 +99,7 @@ EINTERN void _batman_udev_stop(Instance *inst);
#elif !defined(__OpenBSD__) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
/* in batman_upower.c */
EINTERN int _batman_upower_start(Instance *inst);
EINTERNvoid _batman_upower_stop(void);
EINTERN void _batman_upower_stop(void);
/* end batman_upower.c */
#else
/* in batman_sysctl.c */

View File

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