projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbd972c
)
ef -> battery_config
author
Carsten Haitzler
<raster@rasterman.com>
Thu, 20 Apr 2006 11:48:42 +0000
(11:48 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Thu, 20 Apr 2006 11:48:42 +0000
(11:48 +0000)
bsd mis-port fix
SVN revision: 22261
src/modules/battery/e_mod_main.c
patch
|
blob
|
history
diff --git
a/src/modules/battery/e_mod_main.c
b/src/modules/battery/e_mod_main.c
index
0767d1c
..
4f288c2
100644
(file)
--- a/
src/modules/battery/e_mod_main.c
+++ b/
src/modules/battery/e_mod_main.c
@@
-195,13
+195,13
@@
_battery_cb_check(void *data)
{
len = 3;
if (sysctlnametomib("hw.acpi.acline", acline_mib, &len) == 0)
-
ef
->battery_check_mode = CHECK_ACPI;
+
battery_config
->battery_check_mode = CHECK_ACPI;
}
else
{
apm_fd = open("/dev/apm", O_RDONLY);
if (apm_fd != -1)
-
ef
->battery_check_mode = CHECK_APM;
+
battery_config
->battery_check_mode = CHECK_APM;
}
}
switch (ef->battery_check_mode)