Commit:     ac07860264bd2b18834d3fa3be47032115524cea
Parent:     1ceef40249f21eceabf8633934d94962e7d8e1d7
Author:     Jesper Juhl <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 8 16:31:30 2007 -0700
Committer:  Christoph Lameter <[EMAIL PROTECTED]>
CommitDate: Thu Aug 9 21:57:16 2007 -0700

    SLUB: Fix format specifier in Documentation/vm/slabinfo.c
    There's a little problem in Documentation/vm/slabinfo.c
    The code is using "%d" in a printf() call to print an 'unsigned long'.
    This patch corrects it to use "%lu" instead.
    Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
 Documentation/vm/slabinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/vm/slabinfo.c b/Documentation/vm/slabinfo.c
index d4f21ff..1af7bd5 100644
--- a/Documentation/vm/slabinfo.c
+++ b/Documentation/vm/slabinfo.c
@@ -396,7 +396,7 @@ void report(struct slabinfo *s)
        if (strcmp(s->name, "*") == 0)
-       printf("\nSlabcache: %-20s  Aliases: %2d Order : %2d Objects: %d\n",
+       printf("\nSlabcache: %-20s  Aliases: %2d Order : %2d Objects: %lu\n",
                s->name, s->aliases, s->order, s->objects);
        if (s->hwcache_align)
                printf("** Hardware cacheline aligned\n");
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to