diff options
author | Jafar Abdi <cafer.abdi@gmail.com> | 2019-03-23 17:26:34 +0300 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-02-07 12:22:19 +0000 |
commit | 834e8bf17c067bbc00e4034b10cec98eef363431 (patch) | |
tree | 3726c054a84982f4b243cf052f4796931df38795 /authz/listfile.c | |
parent | c64e1e75381d0cb53f9fc8f93245a933b12c68a6 (diff) | |
download | qemu-834e8bf17c067bbc00e4034b10cec98eef363431.zip qemu-834e8bf17c067bbc00e4034b10cec98eef363431.tar.gz qemu-834e8bf17c067bbc00e4034b10cec98eef363431.tar.bz2 |
authz: fix usage of bool in listfile.c
Clean up wrong usage of FALSE and TRUE in places that use "bool" from stdbool.h.
FALSE and TRUE (with capital letters) are the constants defined by glib for
being used with the "gboolean" type of glib. But some parts of the code also use
TRUE and FALSE for variables that are declared as "bool" (the type from <stdbool.h>).
Signed-off-by: Jafar Abdi <cafer.abdi@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'authz/listfile.c')
-rw-r--r-- | authz/listfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/authz/listfile.c b/authz/listfile.c index e7a8c19..b71f57d 100644 --- a/authz/listfile.c +++ b/authz/listfile.c @@ -239,7 +239,7 @@ qauthz_list_file_init(Object *obj) authz->file_watch = -1; #ifdef CONFIG_INOTIFY1 - authz->refresh = TRUE; + authz->refresh = true; #endif } |