]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix printk format warning in clocksource/acpi_pm.c
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Jul 2008 18:01:39 +0000 (11:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Jul 2008 18:01:39 +0000 (11:01 -0700)
For real, this time.  The earlier attempt just moved the warning around.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/clocksource/acpi_pm.c

index bcd7d0e429e86dff2fdd43fe192e44dfecb09e85..5ca1d80de182bfa3bb333f0aeca907f7929ed26c 100644 (file)
@@ -227,7 +227,7 @@ static int __init parse_pmtmr(char *arg)
        if (strict_strtoul(arg, 16, &base))
                return -EINVAL;
 
-       printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n",
+       printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04lx\n",
               (unsigned int)pmtmr_ioport, base);
        pmtmr_ioport = base;