Received: from eggs.gnu.org ([2001:4830:134:3::10]:57331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPwIJ-0004ob-8v for qemu-devel@nongnu.org; Mon, 23 Feb 2015 11:55:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPwI9-0000s6-PY for qemu-devel@nongnu.org; Mon, 23 Feb 2015 11:55:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPwI9-0000ru-Dm for qemu-devel@nongnu.org; Mon, 23 Feb 2015 11:55:33 -0500 From: Luiz Capitulino Date: Mon, 23 Feb 2015 11:55:24 -0500 Message-Id: <1424710526-21474-3-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1424710526-21474-1-git-send-email-lcapitulino@redhat.com> References: <1424710526-21474-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PULL 2/4] balloon: Fix typo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org From: Eric Blake Commit 422e0501 introduced a typo (unless removing an 'o' from balloon is how you deflate it?) Signed-off-by: Eric Blake Reviewed-by: Markus Armbruster Signed-off-by: Luiz Capitulino --- balloon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/balloon.c b/balloon.c index dea19a4..70c00f5 100644 --- a/balloon.c +++ b/balloon.c @@ -36,7 +36,7 @@ static QEMUBalloonEvent *balloon_event_fn; static QEMUBalloonStatus *balloon_stat_fn; static void *balloon_opaque; -static bool have_ballon(Error **errp) +static bool have_balloon(Error **errp) { if (kvm_enabled() && !kvm_has_sync_mmu()) { error_set(errp, ERROR_CLASS_KVM_MISSING_CAP, @@ -81,7 +81,7 @@ BalloonInfo *qmp_query_balloon(Error **errp) { BalloonInfo *info; - if (!have_ballon(errp)) { + if (!have_balloon(errp)) { return NULL; } @@ -92,7 +92,7 @@ BalloonInfo *qmp_query_balloon(Error **errp) void qmp_balloon(int64_t target, Error **errp) { - if (!have_ballon(errp)) { + if (!have_balloon(errp)) { return; } -- 1.9.3