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 bcd7d0e..5ca1d80 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;