From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFQYz-0000BK-7g for qemu-devel@nongnu.org; Mon, 17 Feb 2014 10:57:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFQYt-00057S-5A for qemu-devel@nongnu.org; Mon, 17 Feb 2014 10:56:57 -0500 From: Igor Mammedov Date: Mon, 17 Feb 2014 16:49:42 +0100 Message-Id: <1392652187-28381-2-git-send-email-imammedo@redhat.com> In-Reply-To: <1392652187-28381-1-git-send-email-imammedo@redhat.com> References: <1392652187-28381-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 1/6] vl.c: fix style issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: agraf@suse.de, andre.przywara@amd.com, stefanha@redhat.com, mst@redhat.com, peter.maydell@linaro.org, armbru@redhat.com, ehabkost@redhat.com, lcapitulino@redhat.com, qemu-ppc@nongnu.org, aliguori@amazon.com, pbonzini@redhat.com, afaerber@suse.de, gaowanlong@cn.fujitsu.com, rth@twiddle.net add missing curly brackets to 'if' statement Signed-off-by: Igor Mammedov --- vl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/vl.c b/vl.c index 316de54..9e60e5c 100644 --- a/vl.c +++ b/vl.c @@ -4150,8 +4150,9 @@ int main(int argc, char **argv, char **envp) * and distribute the available memory equally across all nodes */ for (i = 0; i < nb_numa_nodes; i++) { - if (node_mem[i] != 0) + if (node_mem[i] != 0) { break; + } } if (i == nb_numa_nodes) { uint64_t usedmem = 0; -- 1.7.1