[Pkg-utopia-maintainers] Bug#532999: hal: Incorrect error message in ondemand_set_consider_nice()

Frans Pop elendil at planet.nl
Sat Jun 13 17:20:43 UTC 2009


Package: hal
Version: 0.5.12~git20090406.46dc48-2
Severity: minor

The file hald/linux/addons/addon-cpufreq.c contains the following in
function ondemand_set_consider_nice():

        if(!write_line(consider_file, "%u", !consider)){
                HAL_WARNING(("Could not set ignore_nice_load to: %u kHz; %s", consider,
                             strerror(errno)));

That warning message makes no sense as the variable being set is a boolean
and not some frequency. Removing " kHz" should be enough to fix this.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-utopia-maintainers mailing list