diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-01-15 21:00:50 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-16 12:17:38 +0100 |
commit | 5e4abc9839191e213965e0f1dbf36e2e44356c3a (patch) | |
tree | f2dee1eed74ef80778dc098114092baf0229e2ac /kernel/trace/kmemtrace.c | |
parent | c37abc5515b5ed5b1d2134d2deaead492d9f92a2 (diff) | |
download | blackbird-op-linux-5e4abc9839191e213965e0f1dbf36e2e44356c3a.tar.gz blackbird-op-linux-5e4abc9839191e213965e0f1dbf36e2e44356c3a.zip |
trace: clean up format errors in calls to trace_seq_printf
After adding the printf format checking for trace_seq_printf, several
warnings now show up. This patch cleans them up.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/kmemtrace.c')
-rw-r--r-- | kernel/trace/kmemtrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/kmemtrace.c b/kernel/trace/kmemtrace.c index faaa5ae7e75a..7ebc58cee3bd 100644 --- a/kernel/trace/kmemtrace.c +++ b/kernel/trace/kmemtrace.c @@ -139,12 +139,12 @@ kmemtrace_print_alloc_compress(struct trace_iterator *iter, return TRACE_TYPE_PARTIAL_LINE; /* Requested */ - ret = trace_seq_printf(s, "%4d ", entry->bytes_req); + ret = trace_seq_printf(s, "%4ld ", entry->bytes_req); if (!ret) return TRACE_TYPE_PARTIAL_LINE; /* Allocated */ - ret = trace_seq_printf(s, "%4d ", entry->bytes_alloc); + ret = trace_seq_printf(s, "%4ld ", entry->bytes_alloc); if (!ret) return TRACE_TYPE_PARTIAL_LINE; |