[PATCH 5/7] xfsprogs: fix print format warnings in xfs_io
Dave Chinner
david at fromorbit.com
Mon Jan 18 18:36:51 CST 2010
Signed-off-by: Dave Chinner <david at fromorbit.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
---
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
More information about the xfs
mailing list