kmemtrace: fix printk formats, fix
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 29 Jan 2009 21:49:45 +0000 (13:49 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 30 Jan 2009 15:12:33 +0000 (16:12 +0100)
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>
kernel/trace/kmemtrace.c

index 72b326b..f04c062 100644 (file)
@@ -139,12 +139,12 @@ kmemtrace_print_alloc_compress(struct trace_iterator *iter,
                return TRACE_TYPE_PARTIAL_LINE;
 
        /* Requested */
-       ret = trace_seq_printf(s, "%4zd   ", entry->bytes_req);
+       ret = trace_seq_printf(s, "%4zu   ", entry->bytes_req);
        if (!ret)
                return TRACE_TYPE_PARTIAL_LINE;
 
        /* Allocated */
-       ret = trace_seq_printf(s, "%4zd   ", entry->bytes_alloc);
+       ret = trace_seq_printf(s, "%4zu   ", entry->bytes_alloc);
        if (!ret)
                return TRACE_TYPE_PARTIAL_LINE;