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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes openzfs#9264
  • Loading branch information
Ryan Moeller authored and Ryan Moeller committed Sep 3, 2019
1 parent 54cb965 commit be7e252
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 @@ -874,11 +874,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 be7e252

Please sign in to comment.