From: Nathan Scott Date: Tue, 30 Jul 2002 04:04:20 +0000 (+0000) Subject: fix compiler warnings from builds for 64 bit processors. X-Git-Tag: v2.2.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c9254016365f43be2d15432bc0774ccd79b898f;p=thirdparty%2Fxfsprogs-dev.git fix compiler warnings from builds for 64 bit processors. --- 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);