From a53b6d4b107348c5d31243ec7325e63103b8e233 Mon Sep 17 00:00:00 2001 From: Andrew Perepechko Date: Tue, 22 Dec 2009 19:09:25 +0300 Subject: [PATCH] b=21670 fix format specifier in check_cur_qunit to avoid warnings i=Sheng Yang i=Dmitry Zogin --- lustre/quota/quota_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/quota/quota_context.c b/lustre/quota/quota_context.c index fcd5278..c9014cb 100644 --- a/lustre/quota/quota_context.c +++ b/lustre/quota/quota_context.c @@ -337,10 +337,10 @@ check_cur_qunit(struct obd_device *obd, quota_compute_lqs(qdata, lqs, 1, (ret == 1) ? 1 : 0); CDEBUG(D_QUOTA, "type: %c, limit: "LPU64", usage: "LPU64 - ", pending_write: "LPU64", record: %llu" + ", pending_write: "LPU64", record: %lld" ", qunit_sz: %lu, tune_sz: %lu, ret: %d.\n", QDATA_IS_BLK(qdata) ? 'b' : 'i', limit, usage, pending_write, - (__s64)record, qunit_sz, tune_sz, ret); + record, qunit_sz, tune_sz, ret); LASSERT(ret == 0 || qdata->qd_count); spin_unlock(&lqs->lqs_lock); -- 1.8.3.1