Use the right booleans

TRUE and FALSE happen to be defined, but we should use B_TRUE and
B_FALSE for the sake of consistency.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9264
This commit is contained in:
Ryan Moeller 2019-09-03 15:44:08 -04:00 committed by Brian Behlendorf
parent e242b67cee
commit a6a2877774
1 changed files with 2 additions and 2 deletions

View File

@ -862,11 +862,11 @@ enum zfs_ioc_ref {
boolean_t
validate_ioc_values(void)
{
boolean_t result = TRUE;
boolean_t result = B_TRUE;
#define CHECK(expr) do { \
if (!(expr)) { \
result = FALSE; \
result = B_FALSE; \
fprintf(stderr, "(%s) === FALSE\n", #expr); \
} \
} while (0)