Skip to content

Commit

Permalink
Fix printk format warning in clocksource/acpi_pm.c
Browse files Browse the repository at this point in the history
For real, this time.  The earlier attempt just moved the warning around.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Linus Torvalds committed Jul 15, 2008
1 parent da6e88f commit 1435176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/acpi_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1435176

Please sign in to comment.