]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
blockdev: fix drive-mirror 'granularity' error message
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 Aug 2014 13:29:59 +0000 (14:29 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 29 Aug 2014 09:46:58 +0000 (10:46 +0100)
commit3cbbe9fd1feaf3264f745fccb0bf5f62c583078f
tree690de08384c1ed7eefa008c6bfb31038847896f6
parent0b9caf9b3166c8deb3c4f3a774c2384b069dc29c
blockdev: fix drive-mirror 'granularity' error message

Name the 'granularity' parameter and give its expected value range.
Previously the device name was mistakenly reported as the parameter
name.

Note that the error class is unchanged from ERROR_CLASS_GENERIC_ERROR.

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
blockdev.c