From: Christopher J. Morrone Date: Thu, 9 May 2013 00:28:02 +0000 (-0700) Subject: LU-3301 utils: Replace %llu with LPU64 X-Git-Tag: 2.4.0-RC1~18 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=0d81df2b743afe58978778b81b0caff56d188856 LU-3301 utils: Replace %llu with LPU64 Replace incorrect use of %llu with LPU64 to allow compilation on ppc64. Change-Id: I85794527a43ed1577cf43ddb3470a9c8d070f11b Signed-off-by: Christopher J. Morrone Reviewed-on: http://review.whamcloud.com/6296 Reviewed-by: Bobi Jam Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo --- diff --git a/lustre/utils/mount_utils.c b/lustre/utils/mount_utils.c index 3c2331f..80fc189 100644 --- a/lustre/utils/mount_utils.c +++ b/lustre/utils/mount_utils.c @@ -701,8 +701,8 @@ int file_create(char *path, __u64 size) */ size_max = (off_t)1 << (_FILE_OFFSET_BITS - 1 - 10); if (size >= size_max) { - fprintf(stderr, "%s: %llu KB: Backing store size must be " - "smaller than %llu KB\n", progname, size, size_max); + fprintf(stderr, "%s: "LPU64" KB: Backing store size must be " + "smaller than "LPU64" KB\n", progname, size, size_max); return EFBIG; }