mirror of https://gitee.com/openkylin/libvirt.git
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 &&
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue