attr_list_context.count is a ssize_t adn thus we need to use %zd, not
%ld to print it.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Index: linux-2.6-xfs/fs/xfs/xfsidbg.c
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/xfsidbg.c 2008-08-14 15:24:38.000000000 -0300
+++ linux-2.6-xfs/fs/xfs/xfsidbg.c 2008-08-14 15:27:20.000000000 -0300
@@ -4171,7 +4171,7 @@ xfsidbg_xattrcontext(xfs_attr_list_conte
context->cursor->hashval, context->cursor->blkno,
context->cursor->offset, context->cursor->pad1,
context->cursor->pad2, context->cursor->initted);
- kdb_printf("alist 0x%p, bufsize 0x%x, count %ld, firstu 0x%x\n",
+ kdb_printf("alist 0x%p, bufsize 0x%x, count %zd, firstu 0x%x\n",
context->alist, context->bufsize, context->count,
context->firstu);
}
|