hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Tue Aug 28 04:31:31 PDT 2007


 hald/linux/pmu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 6efebcfcfe690ce8f8f2e2976bf100032d853f19 (from 72510af187df46dfc2cc268d51ca2d47f4bb3b89)
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Tue Aug 28 13:31:15 2007 +0200

    fixed typo in PMU code
    
    Fixed typo in PMU code which prevent detect the battery.

diff --git a/hald/linux/pmu.c b/hald/linux/pmu.c
index 7da7e26..d8f6fc3 100644
--- a/hald/linux/pmu.c
+++ b/hald/linux/pmu.c
@@ -328,7 +328,7 @@ pmu_synthesize_hotplug_events (void)
 	pmu_synthesize_item ("/proc/pmu/info", PMU_TYPE_AC_ADAPTER);
 
 	error = NULL;
-	dir = g_dir_open ("/proc/pmu/info", 0, &error);
+	dir = g_dir_open ("/proc/pmu", 0, &error);
 	if (dir != NULL) {
 		const gchar *f;
 		while ((f = g_dir_read_name (dir)) != NULL) {


More information about the hal-commit mailing list