From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvEAH-0002FH-Nw for qemu-devel@nongnu.org; Wed, 08 Feb 2012 15:31:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvEAD-0001AS-1Z for qemu-devel@nongnu.org; Wed, 08 Feb 2012 15:30:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:65353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvEAC-0001AL-Ju for qemu-devel@nongnu.org; Wed, 08 Feb 2012 15:30:48 -0500 From: Luiz Capitulino Date: Wed, 8 Feb 2012 18:30:35 -0200 Message-Id: <1328733040-16697-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1328733040-16697-1-git-send-email-lcapitulino@redhat.com> References: <1328733040-16697-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 1/6] balloon: qmp_balloon(): Use error_set() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, aliguori@us.ibm.com, armbru@redhat.com, agl@us.ibm.com Commit d72f326431e280a619a0fd55e27d3737747f8178 converted the balloon command to the QAPI, but forgot to convert one qerror_report() usage. Fix it. Signed-off-by: Luiz Capitulino --- balloon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } -- 1.7.9.111.gf3fb0.dirty