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>
This commit is contained in:
Markus Armbruster 2020-11-13 09:26:26 +01:00
parent 74b97760dc
commit 6cc0667d9b
5 changed files with 6 additions and 6 deletions

View file

@ -776,7 +776,7 @@ static void set_pci_devfn(Object *obj, Visitor *v, const char *name,
}
if (value < -1 || value > 255) {
error_setg(errp, QERR_INVALID_PARAMETER_VALUE,
name ? name : "null", "pci_devfn");
name ? name : "null", "a value between -1 and 255");
return;
}
*ptr = value;