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

View File

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