From 1433c803c9b545380e155bc80f90d45db289d000 Mon Sep 17 00:00:00 2001 From: Jovanka Gulicoska Date: Mon, 23 May 2016 20:35:59 +0200 Subject: [PATCH] nwfilter: Replace VIR_ERROR with standard vir*Error in state driver init Replace VIR_ERROR with virReportError --- src/nwfilter/nwfilter_driver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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