From: Luiz Capitulino Date: Thu, 26 Apr 2012 20:15:02 +0000 (-0300) Subject: qapi: fix qmp_balloon() conversion X-Git-Tag: v1.1-rc0~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3c83a2265261594d0a24507a17ad2f5c83eea81;p=thirdparty%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 0166744aa89..aa354f75546 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; }