diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-27 12:37:49 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-29 00:42:01 -0400 |
commit | 7d7d2b803159d4edeb051b0e5efbc1a8d9ef1c67 (patch) | |
tree | 751419481dc613a916bfe3efeeb14d7bdd2b9a5b /kernel/trace | |
parent | f2957f1f196b0217644a17c1379855a118a37d72 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 9692f100ec1a..f4cc59040ebf 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -1491,7 +1491,7 @@ static int trace_recursive_lock(void) | |||
1491 | /* Disable all tracing before we do anything else */ | 1491 | /* Disable all tracing before we do anything else */ |
1492 | tracing_off_permanent(); | 1492 | tracing_off_permanent(); |
1493 | 1493 | ||
1494 | printk_once(KERN_WARNING "Tracing recursion: depth[%d]:" | 1494 | printk_once(KERN_WARNING "Tracing recursion: depth[%ld]:" |
1495 | "HC[%lu]:SC[%lu]:NMI[%lu]\n", | 1495 | "HC[%lu]:SC[%lu]:NMI[%lu]\n", |
1496 | current->trace_recursion, | 1496 | current->trace_recursion, |
1497 | hardirq_count() >> HARDIRQ_SHIFT, | 1497 | hardirq_count() >> HARDIRQ_SHIFT, |