diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-01-23 21:03:37 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-26 13:03:51 (GMT) |
commit | cc2f6d90e950b69ad31d483c19cc1d121bb25c16 (patch) | |
tree | 002de8aa52c3b1495a8b70278bd819779f827be6 /kernel/trace/kmemtrace.c | |
parent | 5ce1b1ed27d4ab1d81b8543a96f488bba2071576 (diff) | |
download | linux-cc2f6d90e950b69ad31d483c19cc1d121bb25c16.tar.xz |
kmemtrace: fix printk format warnings
Fix kmemtrace printk warnings:
kernel/trace/kmemtrace.c:142: warning: format '%4ld' expects type 'long int', but argument 3 has type 'size_t'
kernel/trace/kmemtrace.c:147: warning: format '%4ld' expects type 'long int', but argument 3 has type 'size_t'
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/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 7ebc58c..72b326b 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, "%4ld ", entry->bytes_req); + ret = trace_seq_printf(s, "%4zd ", entry->bytes_req); if (!ret) return TRACE_TYPE_PARTIAL_LINE; /* Allocated */ - ret = trace_seq_printf(s, "%4ld ", entry->bytes_alloc); + ret = trace_seq_printf(s, "%4zd ", entry->bytes_alloc); if (!ret) return TRACE_TYPE_PARTIAL_LINE; |