Skip to contentSkip to conversation

balloon: Fix typo

PATCH Applied Eric Blake 3 participants 3 messages Feb 10, 2015 – Feb 16, 2015

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 balloon: Fix typo

Commit 422e0501 introduced a typo (unless removing an 'o' from balloon is how you deflate it?)

---

I'm usually good at spotting typos when giving my R-b. Oh well, Dave is doing well to make sure my ego doesn't get too inflated :)

 balloon.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
balloon.c +3 -3
index dea19a4..70c00f5 100644
@@ -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;
     }
 
Signature · 1 line
2.1.0