aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-04-27 12:37:49 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-04-29 00:42:01 -0400
commit7d7d2b803159d4edeb051b0e5efbc1a8d9ef1c67 (patch)
tree751419481dc613a916bfe3efeeb14d7bdd2b9a5b /kernel/trace
parentf2957f1f196b0217644a17c1379855a118a37d72 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 9692f100ec1..f4cc59040eb 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,