mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
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 <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #9264
This commit is contained in:
parent
5cb46afcf1
commit
8c9c049502
@ -827,11 +827,11 @@ enum zfs_ioc_ref {
|
|||||||
boolean_t
|
boolean_t
|
||||||
validate_ioc_values(void)
|
validate_ioc_values(void)
|
||||||
{
|
{
|
||||||
boolean_t result = TRUE;
|
boolean_t result = B_TRUE;
|
||||||
|
|
||||||
#define CHECK(expr) do { \
|
#define CHECK(expr) do { \
|
||||||
if (!(expr)) { \
|
if (!(expr)) { \
|
||||||
result = FALSE; \
|
result = B_FALSE; \
|
||||||
fprintf(stderr, "(%s) === FALSE\n", #expr); \
|
fprintf(stderr, "(%s) === FALSE\n", #expr); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
Loading…
Reference in New Issue
Block a user