[patch] fix typos in apm.c and addon-hid-ups.c

Richard Hughes richard at hughsie.com
Thu Mar 17 02:49:20 PST 2005


I've been testing my new program with ACPI and APM, and with a UPS. I've
found some bugs in HAL :-)

* hald/linux2/apm.c: (battery_refresh):
  Fix a typo, s/battery.charge_level/battery.charge_level.current
  so that matches ACPI (and HAL spec).

* hald/linux2/addons/addon-hid-ups.c: (main) (ups_get_static):
  Fix a typo, s/battery.is_charging/battery.rechargeable.is_charging
  so that matches ACPI (and HAL spec).

Trivial patch attached.

Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-apm-typo.patch
Type: text/x-patch
Size: 3317 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050317/dec364c3/hal-fix-apm-typo.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list