mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +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
e242b67cee
commit
a6a2877774
@ -862,11 +862,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