ima: Fix bool initialization/comparison

Bool initializations should use true and false. Bool tests don't need
comparisons.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
This commit is contained in:
Thomas Meyer
2017-10-07 16:02:21 +02:00
committed by Mimi Zohar
parent 7c9bc0983f
commit 39adb92598
2 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ bool ima_canonical_fmt;
static int __init default_canonical_fmt_setup(char *str)
{
#ifdef __BIG_ENDIAN
ima_canonical_fmt = 1;
ima_canonical_fmt = true;
#endif
return 1;
}