mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
nwfilter: Replace VIR_ERROR with standard vir*Error in state driver init
Replace VIR_ERROR with virReportError
This commit is contained in:
parent
1223f7b23e
commit
1433c803c9
@ -215,8 +215,9 @@ nwfilterStateInitialize(bool privileged,
|
|||||||
*/
|
*/
|
||||||
if (sysbus &&
|
if (sysbus &&
|
||||||
nwfilterDriverInstallDBusMatches(sysbus) < 0) {
|
nwfilterDriverInstallDBusMatches(sysbus) < 0) {
|
||||||
VIR_ERROR(_("DBus matches could not be installed. Disabling nwfilter "
|
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||||
"driver"));
|
_("DBus matches could not be installed. "
|
||||||
|
"Disabling nwfilter driver"));
|
||||||
/*
|
/*
|
||||||
* unfortunately this is fatal since virNWFilterTechDriversInit
|
* unfortunately this is fatal since virNWFilterTechDriversInit
|
||||||
* may have caused the ebiptables driver to use the firewall tool
|
* may have caused the ebiptables driver to use the firewall tool
|
||||||
|
Loading…
Reference in New Issue
Block a user