Commit 65d96351 authored by Ethan Edwards's avatar Ethan Edwards Committed by Paul Moore

selinux: fixed a checkpatch warning with the sizeof macro

`sizeof buf` changed to `sizeof(buf)`
Signed-off-by: default avatarEthan Edwards <ethancarteredwards@gmail.com>
[PM: rewrote the subject line]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 7383c0f9
......@@ -212,7 +212,7 @@ int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)
if (!booldatum)
return -ENOMEM;
rc = next_entry(buf, fp, sizeof buf);
rc = next_entry(buf, fp, sizeof(buf));
if (rc)
goto err;
......@@ -421,7 +421,7 @@ int cond_read_list(struct policydb *p, void *fp)
u32 i, len;
int rc;
rc = next_entry(buf, fp, sizeof buf);
rc = next_entry(buf, fp, sizeof(buf));
if (rc)
return rc;
......
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