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:
parent
e242b67cee
commit
a6a2877774
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue