aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/kmemtrace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-01-15 21:00:50 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-16 06:17:38 -0500
commit5e4abc9839191e213965e0f1dbf36e2e44356c3a (patch)
treef2dee1eed74ef80778dc098114092baf0229e2ac /kernel/trace/kmemtrace.c
parentc37abc5515b5ed5b1d2134d2deaead492d9f92a2 (diff)
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.c4
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,
139 return TRACE_TYPE_PARTIAL_LINE; 139 return TRACE_TYPE_PARTIAL_LINE;
140 140
141 /* Requested */ 141 /* Requested */
142 ret = trace_seq_printf(s, "%4d ", entry->bytes_req); 142 ret = trace_seq_printf(s, "%4ld ", entry->bytes_req);
143 if (!ret) 143 if (!ret)
144 return TRACE_TYPE_PARTIAL_LINE; 144 return TRACE_TYPE_PARTIAL_LINE;
145 145
146 /* Allocated */ 146 /* Allocated */
147 ret = trace_seq_printf(s, "%4d ", entry->bytes_alloc); 147 ret = trace_seq_printf(s, "%4ld ", entry->bytes_alloc);
148 if (!ret) 148 if (!ret)
149 return TRACE_TYPE_PARTIAL_LINE; 149 return TRACE_TYPE_PARTIAL_LINE;
150 150