[PATCH 6/8] xfstests: fix printf format warnings in looptest.c
Christoph Hellwig
hch at infradead.org
Wed Jan 20 02:32:17 CST 2010
On Wed, Jan 20, 2010 at 02:38:06PM +1100, Dave Chinner wrote:
> Signed-off-by: Dave Chinner <david at fromorbit.com>
> ---
> src/looptest.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/looptest.c b/src/looptest.c
> index d951f2b..3d99f38 100755
> --- a/src/looptest.c
> +++ b/src/looptest.c
> @@ -202,7 +202,7 @@ main(int argc, char *argv[])
>
> if ((flags & FLAG_OPENCLOSE) && (flags & FLAG_SEQUENTIAL)) {
> if (flags & FLAG_VERBOSE)
> - printf("seek %" LL "d\n", seek_to);
> + printf("seek %" LL "d\n", (long long)seek_to);
> if (SEEK(f, seek_to, FILE_BEGIN) < 0)
> PERROR("SEEK", GET_LAST_ERROR);
> seek_to += bufsize;
Ok.
Reviewed-by: Christoph Hellwig <hch at lst.de>
What an ugly code in this file, urggg.
More information about the xfs
mailing list