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 #9264
  • Loading branch information
Ryan Moeller authored and tonyhutter committed Jan 22, 2020
1 parent 5cb46af commit 8c9c049
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 8c9c049

Please sign in to comment.