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 behlendorf committed Sep 3, 2019
1 parent e242b67 commit a6a2877
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 @@ -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)
Expand Down

0 comments on commit a6a2877

Please sign in to comment.