From: Jovanka Gulicoska Date: Mon, 23 May 2016 18:35:59 +0000 (+0200) Subject: nwfilter: Replace VIR_ERROR with standard vir*Error in state driver init X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1433c803c9b545380e155bc80f90d45db289d000;p=libvirt.git nwfilter: Replace VIR_ERROR with standard vir*Error in state driver init Replace VIR_ERROR with virReportError --- diff --git a/src/nwfilter/nwfilter_driver.c b/src/nwfilter/nwfilter_driver.c index 2828b28dea..186830c90e 100644 --- a/src/nwfilter/nwfilter_driver.c +++ b/src/nwfilter/nwfilter_driver.c @@ -215,8 +215,9 @@ nwfilterStateInitialize(bool privileged, */ if (sysbus && nwfilterDriverInstallDBusMatches(sysbus) < 0) { - VIR_ERROR(_("DBus matches could not be installed. Disabling nwfilter " - "driver")); + virReportError(VIR_ERR_INTERNAL_ERROR, "%s", + _("DBus matches could not be installed. " + "Disabling nwfilter driver")); /* * unfortunately this is fatal since virNWFilterTechDriversInit * may have caused the ebiptables driver to use the firewall tool