Skip to content
Snippets Groups Projects
Commit b3c83a22 authored by Luiz Capitulino's avatar Luiz Capitulino
Browse files

qapi: fix qmp_balloon() conversion


Commit d72f3264 forgot to convert a call from qerror_report() to
error_set(). Fix it.

Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent e425306a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment