From: Keir Fraser Date: Thu, 19 Aug 2010 15:24:13 +0000 (+0100) Subject: timers: Fix printk format specifier X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11593 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=90d0bd9ffbbe52504cd311183aeddc90a2962d4f;p=xen.git timers: Fix printk format specifier Signed-off-by: Keir Fraser --- diff --git a/xen/common/timer.c b/xen/common/timer.c index 648f299dfd..305b5fa2ef 100644 --- a/xen/common/timer.c +++ b/xen/common/timer.c @@ -499,7 +499,7 @@ s_time_t align_timer(s_time_t firsttick, uint64_t period) static void dump_timer(struct timer *t, s_time_t now) { - printk(" ex=%8ldus timer=%p cb=%p(%p)", + printk(" ex=%8"PRId64"us timer=%p cb=%p(%p)", (t->expires - now) / 1000, t, t->function, t->data); print_symbol(" %s\n", (unsigned long)t->function); }