From: Arjan van de Ven Date: Sat, 4 Oct 2008 20:42:27 +0000 (-0700) Subject: tracing/fastboot: fix printk format typo in boot tracer X-Git-Tag: v2.6.28-rc1~78^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8a5d900cca57115326bc5b9e7f3bac980986c2c8;p=linux-2.6-omap-h63xx.git tracing/fastboot: fix printk format typo in boot tracer When printing nanoseconds, the right printk format string is %09 not %06... Signed-off-by: Arjan van de Ven Acked-by: Frédéric Weisbecker Signed-off-by: Ingo Molnar --- diff --git a/kernel/trace/trace_boot.c b/kernel/trace/trace_boot.c index a7efe355965..d0a5e50eeff 100644 --- a/kernel/trace/trace_boot.c +++ b/kernel/trace/trace_boot.c @@ -62,14 +62,14 @@ static enum print_line_t initcall_print_line(struct trace_iterator *iter) struct timespec rettime = ktime_to_timespec(it->rettime); if (entry->type == TRACE_BOOT) { - ret = trace_seq_printf(s, "[%5ld.%06ld] calling %s @ %i\n", + ret = trace_seq_printf(s, "[%5ld.%09ld] calling %s @ %i\n", calltime.tv_sec, calltime.tv_nsec, it->func, it->caller); if (!ret) return TRACE_TYPE_PARTIAL_LINE; - ret = trace_seq_printf(s, "[%5ld.%06ld] initcall %s " + ret = trace_seq_printf(s, "[%5ld.%09ld] initcall %s " "returned %d after %lld msecs\n", rettime.tv_sec, rettime.tv_nsec,