summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2019-09-03 15:44:08 -0400
committerBrian Behlendorf <[email protected]>2019-09-03 12:44:08 -0700
commita6a2877774faa5abfc0491e66c8361da759d22fd (patch)
tree1fe2be2976f38dfb1c7bb2153a7757e81a927fd1 /tests
parente242b67cee1dbaf09a27e7c78c55c5505ac88ff4 (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #9264
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
index 652c6d9a1..38bc379b0 100644
--- a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
+++ b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c
@@ -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)