diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-27 16:37:49 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-29 04:42:01 (GMT) |
commit | 7d7d2b803159d4edeb051b0e5efbc1a8d9ef1c67 (patch) | |
tree | 751419481dc613a916bfe3efeeb14d7bdd2b9a5b /kernel/trace | |
parent | f2957f1f196b0217644a17c1379855a118a37d72 (diff) | |
download | linux-fsl-qoriq-7d7d2b803159d4edeb051b0e5efbc1a8d9ef1c67.tar.xz |
ring-buffer: fix printk output
The warning output in trace_recursive_lock uses %d for a long when
it should be %ld.
[ Impact: fix compile warning ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/ring_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 9692f10..f4cc590 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c @@ -1491,7 +1491,7 @@ static int trace_recursive_lock(void) /* Disable all tracing before we do anything else */ tracing_off_permanent(); - printk_once(KERN_WARNING "Tracing recursion: depth[%d]:" + printk_once(KERN_WARNING "Tracing recursion: depth[%ld]:" "HC[%lu]:SC[%lu]:NMI[%lu]\n", current->trace_recursion, hardirq_count() >> HARDIRQ_SHIFT, |