Fix printk format warning in clocksource/acpi_pm.c

For real, this time.  The earlier attempt just moved the warning around.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2008-07-15 11:01:39 -07:00
parent da6e88f496
commit 14351760e3

View file

@ -227,7 +227,7 @@ static int __init parse_pmtmr(char *arg)
if (strict_strtoul(arg, 16, &base)) if (strict_strtoul(arg, 16, &base))
return -EINVAL; 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); (unsigned int)pmtmr_ioport, base);
pmtmr_ioport = base; pmtmr_ioport = base;