Whamcloud - gitweb
b=21670 fix format specifier in check_cur_qunit to avoid warnings
authorAndrew Perepechko <andrew.perepechko@sun.com>
Tue, 22 Dec 2009 16:09:25 +0000 (19:09 +0300)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Tue, 22 Dec 2009 16:09:25 +0000 (19:09 +0300)
i=Sheng Yang
i=Dmitry Zogin

lustre/quota/quota_context.c

index fcd5278..c9014cb 100644 (file)
@@ -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);