Browse Source

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>
Linus Torvalds 17 years ago
parent
commit
14351760e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/clocksource/acpi_pm.c

+ 1 - 1
drivers/clocksource/acpi_pm.c

@@ -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;