From 1accf98c73911fb01ceee108869be9e70e200448 Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Mon, 18 Jan 2010 11:10:51 +1100 Subject: [PATCH] xfsprogs: fix print format warnings in xfs_io Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- io/madvise.c | 2 +- io/mincore.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/io/madvise.c b/io/madvise.c index cd16a4cb0..3235402e0 100644 --- a/io/madvise.c +++ b/io/madvise.c @@ -96,7 +96,7 @@ madvise_f( return 0; } else if (llength > (size_t)llength) { printf(_("length argument too large -- %lld\n"), - llength); + (long long)llength); return 0; } else length = (size_t)llength; diff --git a/io/mincore.c b/io/mincore.c index d53454083..60625efdc 100644 --- a/io/mincore.c +++ b/io/mincore.c @@ -56,7 +56,7 @@ mincore_f( return 0; } else if (llength > (size_t)llength) { printf(_("length argument too large -- %lld\n"), - llength); + (long long)llength); return 0; } else length = (size_t)llength; -- 2.47.2