hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Tue Aug 26 02:50:14 PDT 2008


 hald/linux/addons/addon-cpufreq.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit fdd00ce0015d6d38865c531128f0455b984a291d
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Tue Aug 26 11:48:43 2008 +0200

    fixed cpufreq addon to call setup_logger()
    
    Fixed cpufreq addon to call setup_logger() before start to
    use the HAL_*(()) macros.

diff --git a/hald/linux/addons/addon-cpufreq.c b/hald/linux/addons/addon-cpufreq.c
index 05a4727..8f9567c 100644
--- a/hald/linux/addons/addon-cpufreq.c
+++ b/hald/linux/addons/addon-cpufreq.c
@@ -1276,6 +1276,8 @@ int main(int argc, char *argv[])
 	sigaction(SIGQUIT, &signal_action, NULL);
 	sigaction(SIGTERM, &signal_action, NULL);
 
+	setup_logger ();
+
 	if (!is_supported()) {
 		HAL_WARNING(("CPUFreq not supported. Exiting..."));
 		exit(EXIT_FAILURE);


More information about the hal-commit mailing list