diff options
author | Markus Armbruster | 2020-11-13 09:26:26 +0100 |
---|---|---|
committer | Markus Armbruster | 2020-12-10 17:16:44 +0100 |
commit | 6cc0667d9b2b17fb4058cc30c49db5aa53eb7605 (patch) | |
tree | 827272b909684c996b47b440f8a719629becf997 /hw | |
parent | qom: Improve {qom,device}-list-properties error messages (diff) | |
download | qemu-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 'hw')
-rw-r--r-- | hw/core/qdev-properties-system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-properties-system.c index 9d80a07d26..8912fb4e9c 100644 --- a/hw/core/qdev-properties-system.c +++ b/hw/core/qdev-properties-system.c @@ -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; |