mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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:
parent
74b97760dc
commit
6cc0667d9b
5 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue