From b3c83a2265261594d0a24507a17ad2f5c83eea81 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 26 Apr 2012 17:15:02 -0300 Subject: [PATCH] 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 --- balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.7.4