summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/clocksource/acpi_pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm.c
index 3baee02..bcd7d0e 100644
--- a/drivers/clocksource/acpi_pm.c
+++ b/drivers/clocksource/acpi_pm.c
@@ -227,8 +227,8 @@ static int __init parse_pmtmr(char *arg)
if (strict_strtoul(arg, 16, &base))
return -EINVAL;
- printk(KERN_INFO "PMTMR IOPort override: 0x%04lx -> 0x%04lx\n",
- pmtmr_ioport, base);
+ printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n",
+ (unsigned int)pmtmr_ioport, base);
pmtmr_ioport = base;
return 1;
OpenPOWER on IntegriCloud