[PATCH 7/9] xfsprogs: fix print format warnings in xfs_io

Dave Chinner
2010-01-14T10:12:46Z

Signed-off-by: Dave Chinner <david@fromorbit.com>
---
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 cd16a4c..3235402 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 d534540..60625ef 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;
--
1.6.5