From: Luiz Capitulino Date: Thu, 26 Apr 2012 20:15:02 +0000 (-0300) Subject: qapi: fix qmp_balloon() conversion X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~4170^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 0166744..aa354f7 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; }