From c7b8a20ad9981702794e416ba53991aa08119936 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Thu, 15 Mar 2012 20:12:09 -0700 Subject: [PATCH] LU-1225 utils: Change %llu to LPU64 %llu in printf should be LPU64 to allow compilation on ppc64. Signed-off-by: Christopher J. Morrone Change-Id: Ia0a6adf4220e19802164e6567f3d0c5a24875fe2 Reviewed-on: http://review.whamcloud.com/2338 Tested-by: Maloo Reviewed-by: Yang Sheng Reviewed-by: Oleg Drokin --- lustre/utils/obd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/utils/obd.c b/lustre/utils/obd.c index 8154349..880a0db 100644 --- a/lustre/utils/obd.c +++ b/lustre/utils/obd.c @@ -561,8 +561,8 @@ static void shmem_total(int total_threads) &shared_data->body.start_time); shmem_unlock(); - printf("Total: total %llu threads %d sec %f %f/second\n", total, - total_threads, secs, total / secs); + printf("Total: total "LPU64" threads %d sec %f %f/second\n", + total, total_threads, secs, total / secs); return; } -- 1.8.3.1