From: Luiz Capitulino Date: Thu, 26 Apr 2012 20:15:02 +0000 (-0300) Subject: qapi: fix qmp_balloon() conversion X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~17^2~533^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3c83a2265261594d0a24507a17ad2f5c83eea81;p=sdk%2Femulator%2Fqemu.git 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 Reviewed-by: Michael Roth --- 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; }