From a6a2877774faa5abfc0491e66c8361da759d22fd Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Tue, 3 Sep 2019 15:44:08 -0400 Subject: [PATCH] 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 Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Signed-off-by: Ryan Moeller Closes #9264 --- tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c | 4 ++-- 1 file 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) -- 2.40.0