From: Andrew Perepechko Date: Tue, 22 Dec 2009 16:09:25 +0000 (+0300) Subject: b=21670 fix format specifier in check_cur_qunit to avoid warnings X-Git-Tag: v1_8_1_59~12 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a53b6d4b107348c5d31243ec7325e63103b8e233;p=fs%2Flustre-release.git b=21670 fix format specifier in check_cur_qunit to avoid warnings i=Sheng Yang i=Dmitry Zogin --- 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);