hal: Branch 'origin'

Richard Hughes hughsient at kemper.freedesktop.org
Wed Jan 3 16:44:15 PST 2007


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

New commits:
diff-tree 6de338648dc70439ea2c28ec36a7c05c5242c58e (from 5a809031ebb898497b1003af1d8e6c739f565c1d)
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Jan 1 22:17:13 2007 +0000

    change trivial %% typo in the acpi battery code
    
    Fix trivial typo where I was getting:
    '...voltage is unknown, smaller than 509849032840934234 or...'.
    Now properly print 50% by adding the extra '%'

diff --git a/hald/linux/acpi.c b/hald/linux/acpi.c
index 50a1e13..6011562 100644
--- a/hald/linux/acpi.c
+++ b/hald/linux/acpi.c
@@ -170,7 +170,7 @@ battery_refresh_poll (HalDevice *d)
 		 * or greater than design, then use design voltage.
 		 */
 		if (voltage < (design_voltage/2)  || voltage > design_voltage) {
-			HAL_DEBUG (("Current voltage is unknown, smaller than 50% or greater than design"));
+			HAL_DEBUG (("Current voltage is unknown, smaller than 50%% or greater than design"));
 			voltage = design_voltage;
 		}
 


More information about the hal-commit mailing list