From 3c9254016365f43be2d15432bc0774ccd79b898f Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 30 Jul 2002 04:04:20 +0000 Subject: [PATCH] fix compiler warnings from builds for 64 bit processors. --- mkfs/xfs_mkfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c index 587d80321..a7cf0be5a 100644 --- a/mkfs/xfs_mkfs.c +++ b/mkfs/xfs_mkfs.c @@ -1667,10 +1667,10 @@ main(int argc, char **argv) tmp_agsize = agsize + dsunit; if (daflag || dasize) { fprintf(stderr, -"Warning: AG size is a multiple of stripe width. This can cause performance\n" -"problems by aligning all AGs on the same disk. To avoid this, rerun mkfs with\n" -"an AG size that is one stripe unit smaller, for example %lld\n", - tmp_agsize); +"Warning: AG size is a multiple of stripe width. This can cause performance\n\ +problems by aligning all AGs on the same disk. To avoid this, run mkfs with\n\ +an AG size that is one stripe unit smaller, for example %llu\n", + (unsigned long long)tmp_agsize); } else { agsize = tmp_agsize; agcount = dblocks/agsize + (dblocks % agsize != 0); -- 2.47.2