From: Jafar Abdi Date: Sat, 23 Mar 2019 14:26:34 +0000 (+0300) Subject: authz: fix usage of bool in listfile.c X-Git-Tag: v5.0.0-rc0~103^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=834e8bf17c067bbc00e4034b10cec98eef363431;p=thirdparty%2Fqemu.git 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 ). Signed-off-by: Jafar Abdi Reviewed-by: Eric Blake Signed-off-by: Daniel P. Berrangé --- diff --git a/authz/listfile.c b/authz/listfile.c index e7a8c19bcba..b71f57d30a6 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 }