Skip to content
Snippets Groups Projects
Commit 3cbbe9fd authored by Stefan Hajnoczi's avatar Stefan Hajnoczi
Browse files

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: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Reviewed-by: default avatarBenoît Canet <benoit.canet@nodalink.com>
parent 0b9caf9b
No related branches found
No related tags found
No related merge requests found
Loading
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