Skip to content

Commit

Permalink
Use the right booleans
Browse files Browse the repository at this point in the history
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 openzfs#9264
  • Loading branch information
Ryan Moeller authored and tonyhutter committed Dec 27, 2019
1 parent 80caf3f commit ea5f806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,11 +827,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)
Expand Down

0 comments on commit ea5f806

Please sign in to comment.