diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-12-18 16:35:13 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:24 -0600 |
commit | dd35bd3dfb56adbea511121be25882df59fa9507 (patch) | |
tree | eecf3e2bfe37f81cecc7f6d27ef5e97b47c29e21 /hw/core | |
parent | 5d3cf3e91d9243f6f1cb5af05dba0331b1009b41 (diff) | |
download | hqemu-dd35bd3dfb56adbea511121be25882df59fa9507.zip hqemu-dd35bd3dfb56adbea511121be25882df59fa9507.tar.gz |
error: Don't decorate original error message when adding to it
Prepend the additional information, colon, space to the original
message without enclosing it in parenthesis or quotes, like we do
elsewhere.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1450452927-8346-11-git-send-email-armbru@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/qdev-properties.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c index 33e245e..fffb58e 100644 --- a/hw/core/qdev-properties.c +++ b/hw/core/qdev-properties.c @@ -1063,7 +1063,7 @@ static void qdev_prop_set_globals_for_type(DeviceState *dev, object_property_parse(OBJECT(dev), prop->value, prop->property, &err); if (err != NULL) { assert(prop->user_provided); - error_report("Warning: global %s.%s=%s ignored (%s)", + error_report("Warning: global %s.%s=%s ignored: %s", prop->driver, prop->property, prop->value, error_get_pretty(err)); error_free(err); |