diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-01-29 16:49:45 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-30 10:12:33 -0500 |
commit | ecf441b593ac41cb8cd8cd3695110167c42e098c (patch) | |
tree | 2f724acde14fc2256a94f15b06d9fe625c453b3e /kernel | |
parent | cc2f6d90e950b69ad31d483c19cc1d121bb25c16 (diff) |
kmemtrace: fix printk formats, fix
Geert Uytterhoeven wrote:
> %4zu?
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-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 72b326bba005..f04c0625f1cd 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, "%4zd ", entry->bytes_req); | 142 | ret = trace_seq_printf(s, "%4zu ", 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, "%4zd ", entry->bytes_alloc); | 147 | ret = trace_seq_printf(s, "%4zu ", entry->bytes_alloc); |
148 | if (!ret) | 148 | if (!ret) |
149 | return TRACE_TYPE_PARTIAL_LINE; | 149 | return TRACE_TYPE_PARTIAL_LINE; |
150 | 150 | ||