]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: blockCopy: Add missing jump on error path
authorLuyao Huang <lhuang@redhat.com>
Fri, 27 Mar 2015 09:56:29 +0000 (17:56 +0800)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 30 Mar 2015 14:42:22 +0000 (16:42 +0200)
commit390f218b83513a00b81549eb66854d8b263cb014
tree86d484bf2d2a1778e088f628bbfd7d3aedaeb1a4
parent53eae3e7c35aa04402072a39f724b0d9d0b3e8be
virsh: blockCopy: Add missing jump on error path

The overflow check for the bandwidth parameter did not jump to the
cleanup label.

Additionally virsh should use vshError instead of virReportError.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1206987

Signed-off-by: Luyao Huang <lhuang@redhat.com>
tools/virsh-domain.c