[PATCH] xfstests: fix format string warnings in locktest.c

Christoph Hellwig hch at infradead.org
Thu Jan 21 11:32:37 CST 2010


On Thu, Jan 21, 2010 at 10:34:12AM -0600, Alex Elder wrote:
> Alex Elder wrote:
> > Christoph Hellwig wrote:
> >> Signed-off-by: Christoph Hellwig <hch at lst.de>
> > 
> > Looks good.
> > 
> > Reviewed-by: Alex Elder <aelder at sgi.com>
> 
> By the way, the content of this patch is already incorporated
> in Dave's patch "[7/8] xfstests: fix printf warnings in loctest.c".
> http://patchwork.xfs.org/patch/517/

Dave fixed the warnings not quite correctly, he switched from %d which
was totally wrong to %lu which is only correct on some 64-bit
architectures.  %zd is the really correct format.




More information about the xfs mailing list