diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-11-13 09:26:18 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-12-10 17:16:44 +0100 |
commit | f820af87433af84c13cd260807b59bbce47e2f0a (patch) | |
tree | e3e73a12d52903bd1d95e77a461f5914041bf72b /net/net.c | |
parent | ac114d5cd593b428074b5978e9a80efd812210e5 (diff) | |
download | qemu-f820af87433af84c13cd260807b59bbce47e2f0a.zip qemu-f820af87433af84c13cd260807b59bbce47e2f0a.tar.gz qemu-f820af87433af84c13cd260807b59bbce47e2f0a.tar.bz2 |
qerror: Eliminate QERR_ macros used in just one place
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201113082626.2725812-3-armbru@redhat.com>
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1013,7 +1013,7 @@ static int net_client_init1(const Netdev *netdev, bool is_netdev, Error **errp) if (net_client_init_fun[netdev->type](netdev, netdev->id, peer, errp) < 0) { /* FIXME drop when all init functions store an Error */ if (errp && !*errp) { - error_setg(errp, QERR_DEVICE_INIT_FAILED, + error_setg(errp, "Device '%s' could not be initialized", NetClientDriver_str(netdev->type)); } return -1; |