Skip to content

Commit

Permalink
balloon: Fix typo
Browse files Browse the repository at this point in the history
Commit 422e050 introduced a typo (unless removing an 'o' from
balloon is how you deflate it?)

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
  • Loading branch information
ebblake authored and Luiz Capitulino committed Feb 23, 2015
1 parent f19e44b commit 438e828
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions balloon.c
Expand Up @@ -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,
Expand Down Expand Up @@ -81,7 +81,7 @@ BalloonInfo *qmp_query_balloon(Error **errp)
{
BalloonInfo *info;

if (!have_ballon(errp)) {
if (!have_balloon(errp)) {
return NULL;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit 438e828

Please sign in to comment.