aboutsummaryrefslogtreecommitdiff
path: root/balloon.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-04-26 17:15:02 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-04-27 11:44:50 -0300
commitb3c83a2265261594d0a24507a17ad2f5c83eea81 (patch)
tree53794f24883d55e65a86396370f49429c80a924b /balloon.c
parente425306a27ef02b6ef19408d588974953f0f28c0 (diff)
qapi: fix qmp_balloon() conversion
Commit d72f326431 forgot to convert a call from qerror_report() to error_set(). Fix it. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'balloon.c')
-rw-r--r--balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/balloon.c b/balloon.c
index 0166744aa8..aa354f7554 100644
--- a/balloon.c
+++ b/balloon.c
@@ -108,7 +108,7 @@ void qmp_balloon(int64_t value, Error **errp)
}
if (value <= 0) {
- qerror_report(QERR_INVALID_PARAMETER_VALUE, "target", "a size");
+ error_set(errp, QERR_INVALID_PARAMETER_VALUE, "target", "a size");
return;
}