diff --git a/src/qemu_conf.c b/src/qemu_conf.c index 9ca60b9..11eacb3 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@ -716,8 +716,8 @@ qemudNetworkIfaceConnect(virConnectPtr conn, virNetworkPtr network = virNetworkLookupByName(conn, net->data.network.name); if (!network) { - qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, - _("Network '%s' not found"), + qemudReportError(conn, NULL, NULL, VIR_ERR_NO_NETWORK, + _("Network '%s' not defined"), net->data.network.name); goto error; }