From patchwork Tue Feb 7 20:57:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 6693 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3588923ECA for ; Tue, 7 Feb 2012 20:57:32 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id E9BE4A1813B for ; Tue, 7 Feb 2012 20:57:31 +0000 (UTC) Received: by iabz7 with SMTP id z7so14336143iab.11 for ; Tue, 07 Feb 2012 12:57:31 -0800 (PST) Received: by 10.42.74.195 with SMTP id x3mr12991934icj.41.1328648251391; Tue, 07 Feb 2012 12:57:31 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.169.210 with SMTP id a18cs136529ibz; Tue, 7 Feb 2012 12:57:30 -0800 (PST) Received: by 10.216.131.215 with SMTP id m65mr9135353wei.54.1328648249376; Tue, 07 Feb 2012 12:57:29 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id v56si14089162wec.96.2012.02.07.12.57.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Feb 2012 12:57:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1Rus6R-0007qC-4c; Tue, 07 Feb 2012 20:57:27 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, patches@linaro.org Subject: [PATCH] vl.c: Fix typo in variable name Date: Tue, 7 Feb 2012 20:57:27 +0000 Message-Id: <1328648247-30117-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 Fix a typo in a local variable name. Signed-off-by: Peter Maydell Reviewed-by: Stefan Weil --- vl.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/vl.c b/vl.c index 63dd725..c4b3aab 100644 --- a/vl.c +++ b/vl.c @@ -2030,7 +2030,7 @@ static int configure_accelerator(void) const char *p = NULL; char buf[10]; int i, ret; - bool accel_initalised = 0; + bool accel_initialised = 0; bool init_failed = 0; QemuOptsList *list = qemu_find_opts("machine"); @@ -2043,7 +2043,7 @@ static int configure_accelerator(void) p = "tcg"; } - while (!accel_initalised && *p != '\0') { + while (!accel_initialised && *p != '\0') { if (*p == ':') { p++; } @@ -2064,7 +2064,7 @@ static int configure_accelerator(void) } *(accel_list[i].allowed) = 0; } else { - accel_initalised = 1; + accel_initialised = 1; } break; } @@ -2074,7 +2074,7 @@ static int configure_accelerator(void) } } - if (!accel_initalised) { + if (!accel_initialised) { fprintf(stderr, "No accelerator found!\n"); exit(1); } @@ -2083,7 +2083,7 @@ static int configure_accelerator(void) fprintf(stderr, "Back to %s accelerator.\n", accel_list[i].name); } - return !accel_initalised; + return !accel_initialised; } void qemu_add_exit_notifier(Notifier *notify)