diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-04-26 17:15:02 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-04-27 11:44:50 -0300 |
commit | b3c83a2265261594d0a24507a17ad2f5c83eea81 (patch) | |
tree | 53794f24883d55e65a86396370f49429c80a924b /balloon.c | |
parent | e425306a27ef02b6ef19408d588974953f0f28c0 (diff) | |
download | qemu-b3c83a2265261594d0a24507a17ad2f5c83eea81.zip qemu-b3c83a2265261594d0a24507a17ad2f5c83eea81.tar.gz qemu-b3c83a2265261594d0a24507a17ad2f5c83eea81.tar.bz2 |
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 <lcapitulino@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'balloon.c')
-rw-r--r-- | balloon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |