Skip to content

Commit

Permalink
qapi: fix qmp_balloon() conversion
Browse files Browse the repository at this point in the history
Commit d72f326 forgot to convert a call from qerror_report() to
error_set(). Fix it.

Signed-off-by: Luiz Capitulino <[email protected]>
Reviewed-by: Michael Roth <[email protected]>
  • Loading branch information
Luiz Capitulino committed Apr 27, 2012
1 parent e425306 commit b3c83a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balloon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b3c83a2

Please sign in to comment.