From be7e25244b134744d8fbe7e9fe198b26dad22dd4 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 b5e6429ad953..4bcbedbcfd10 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 @@ -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)