summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMarkus Armbruster2020-11-13 09:26:26 +0100
committerMarkus Armbruster2020-12-10 17:16:44 +0100
commit6cc0667d9b2b17fb4058cc30c49db5aa53eb7605 (patch)
tree827272b909684c996b47b440f8a719629becf997 /block
parentqom: Improve {qom,device}-list-properties error messages (diff)
downloadqemu-6cc0667d9b2b17fb4058cc30c49db5aa53eb7605.tar.gz
qemu-6cc0667d9b2b17fb4058cc30c49db5aa53eb7605.tar.xz
qemu-6cc0667d9b2b17fb4058cc30c49db5aa53eb7605.zip
Tweak a few "Parameter 'NAME' expects THING" error message
Change to "expects a THING" where that's an obvious improvement Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201113082626.2725812-11-armbru@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/quorum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/quorum.c b/block/quorum.c
index b10fc2089e..4b08a199b7 100644
--- a/block/quorum.c
+++ b/block/quorum.c
@@ -856,7 +856,7 @@ static int quorum_valid_threshold(int threshold, int num_children, Error **errp)
if (threshold < 1) {
error_setg(errp, QERR_INVALID_PARAMETER_VALUE,
- "vote-threshold", "value >= 1");
+ "vote-threshold", "a value >= 1");
return -ERANGE;
}