]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - security/integrity/ima/ima_iint.c
IMA: use unsigned int instead of long for counters
[net-next-2.6.git] / security / integrity / ima / ima_iint.c
index 8e64313ed182c18898305225bad72c3b1c55eaa5..db71a13f27fe1bb21a023041726e56c09599b4ae 100644 (file)
@@ -125,12 +125,12 @@ void iint_free(struct kref *kref)
        iint->version = 0;
        iint->flags = 0UL;
        if (iint->readcount != 0) {
-               printk(KERN_INFO "%s: readcount: %ld\n", __func__,
+               printk(KERN_INFO "%s: readcount: %u\n", __func__,
                       iint->readcount);
                iint->readcount = 0;
        }
        if (iint->writecount != 0) {
-               printk(KERN_INFO "%s: writecount: %ld\n", __func__,
+               printk(KERN_INFO "%s: writecount: %u\n", __func__,
                       iint->writecount);
                iint->writecount = 0;
        }