projects
/
monky
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bugfix: ac-adapter is sometimes called ADP1 in sysfs instead of AC
[monky]
/
src
/
core.c
diff --git
a/src/core.c
b/src/core.c
index
a7132c6
..
ac1a7f3
100644
(file)
--- a/
src/core.c
+++ b/
src/core.c
@@
-171,8
+171,6
@@
struct text_object *construct_text_object(const char *s, const char *arg, long
NORM_ERR("acpiacadapter: arg is only used on linux");
#endif
}
- if(! obj->data.opaque)
- obj->data.opaque = strdup("AC");
#endif /* !__OpenBSD__ */
END OBJ(freq, 0)
get_cpu_count();