Commit c40853f2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] policydb printk warnings

security/selinux/ss/policydb.c:1160: warning: signed size_t format, different type arg (arg 3)
security/selinux/ss/policydb.c:1160: warning: signed size_t format, different type arg (arg 3)
parent 9c8b76eb
......@@ -1156,7 +1156,7 @@ int policydb_read(struct policydb *p, void *fp)
len = buf[1];
if (len != strlen(POLICYDB_STRING)) {
printk(KERN_ERR "security: policydb string length %d does not "
"match expected length %Zd\n",
"match expected length %Zu\n",
len, strlen(POLICYDB_STRING));
goto bad;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment