From patchwork Sat Mar 23 14:26:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jafar Abdi X-Patchwork-Id: 10866845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD4E0925 for ; Sat, 23 Mar 2019 14:28:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF7B22A20E for ; Sat, 23 Mar 2019 14:28:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A054F2A21E; Sat, 23 Mar 2019 14:28:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 28EEC2A20E for ; Sat, 23 Mar 2019 14:28:29 +0000 (UTC) Received: from localhost ([127.0.0.1]:44004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7hdN-0001ao-81 for patchwork-qemu-devel@patchwork.kernel.org; Sat, 23 Mar 2019 10:28:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7hbw-00087T-2X for qemu-devel@nongnu.org; Sat, 23 Mar 2019 10:27:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7hbv-000701-AN for qemu-devel@nongnu.org; Sat, 23 Mar 2019 10:27:00 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:34742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7hbv-0006zf-3Q for qemu-devel@nongnu.org; Sat, 23 Mar 2019 10:26:59 -0400 Received: by mail-wm1-x341.google.com with SMTP id o10so6249052wmc.1 for ; Sat, 23 Mar 2019 07:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Hav8O4Gx0IHPKUDV2t6rRpDNyFBUck+OZrVDcHVc5cI=; b=a2wEKC+tWDOHnYXOwjpu0zx8vJlpShKwVh57z9lx8aRPQGZhHhhlYZ/rVsLk5AdZ2j Ey6pEdx0NexGYHjR3BvkjNaqcdinxqFROsMaMqaASb7RKAcAGIxKpDz71mAPdJOIVm63 aiyQjon4AX0+k8I4XtcFMfQQR2wpWgcWk6Y+EVjLabfSKYYRf5RhPvj5q/CbPphLk+Un 9jndaErgFunW45XJw4OZr4++AtMPDpfLuxDiQsjyiPSkoh+USUAkR2I4DMdz5jjo7wY9 BsuueEU7lxbcF70KHPlvmL7URBpdeuQ+QZPxuDOepCbwrG1WBLb23VronRpp7nbVMSdr 5gyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Hav8O4Gx0IHPKUDV2t6rRpDNyFBUck+OZrVDcHVc5cI=; b=mLPp4GrsUKax28a0dF/DetQUZ58IKJCvtadZofjhMWhKK7Ctq5bdlnCXVfqZyb2n0A 7bivf9bfZ4n9YzySN53odPFDYBkWg3OWsEhLZsEAnmbzyKEuAzH4uE3+4pe7KumQ9ozW GUvjeZt5Hsw3WxA4VRMj9c3cLHqMdFrm38DlGErPzsTaL7cvrCKkeVOJgoSJL1tQkj7P 7RCV3QgA3cSVDNMqAAm/wDLr5AzmxCEX1/Q6SdJnuKw6rj27eSAeYetS7Dz9Xc7rQxu/ UpFSewrMhPbqUgqEztlyWToWd/xuRa62RWOC87bxhSRHvws5UEzQaP1u/A89gTW668tT 16rA== X-Gm-Message-State: APjAAAVwz5/O78LmChI0xOVyaJ1WuPRskKfveSoe4zvnkYXTX32tqclS t7hSGmii4Ru9ERKp2G8TF4dNRr7vxwYp6A== X-Google-Smtp-Source: APXvYqxcPRNSBg4N57aMrMe24nSUpKlVS29AFYOsXyacyLOTWbhhm0fRQCZ5iUl9hzaBQ5OvrBW5YA== X-Received: by 2002:a1c:eb1a:: with SMTP id j26mr5911948wmh.43.1553351217507; Sat, 23 Mar 2019 07:26:57 -0700 (PDT) Received: from localhost.localdomain ([78.166.192.6]) by smtp.gmail.com with ESMTPSA id b3sm13823214wrx.57.2019.03.23.07.26.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 23 Mar 2019 07:26:56 -0700 (PDT) From: Jafar Abdi To: qemu-devel@nongnu.org Date: Sat, 23 Mar 2019 17:26:34 +0300 Message-Id: <1553351197-14581-2-git-send-email-cafer.abdi@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553351197-14581-1-git-send-email-cafer.abdi@gmail.com> References: <1553351197-14581-1-git-send-email-cafer.abdi@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 Subject: [Qemu-devel] [PATCH V2 1/4] authz: fix usage of bool in listfile.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stefanha@gmail.com, jusual@mail.ru, Jafar Abdi Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé --- authz/listfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authz/listfile.c b/authz/listfile.c index d457976..03eaf46 100644 --- a/authz/listfile.c +++ b/authz/listfile.c @@ -238,7 +238,7 @@ qauthz_list_file_init(Object *obj) authz->file_watch = -1; #ifdef CONFIG_INOTIFY1 - authz->refresh = TRUE; + authz->refresh = true; #endif }