mirror of https://gitee.com/openkylin/libvirt.git
nodeinfo: Fully convert to new virReportError
With our latest s/[a-z]+ReportError/virReportError/ rewrite
(47ab34e2
) we forgot to update arm part of the code.
This commit is contained in:
parent
844cdf22e6
commit
84a8917b8a
|
@ -423,8 +423,8 @@ int linuxNodeInfoCPUPopulate(FILE *cpuinfo,
|
|||
buf++;
|
||||
|
||||
if (*buf != ':' || !buf[1]) {
|
||||
nodeReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%s", _("parsing cpu MHz from cpuinfo"));
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%s", _("parsing cpu MHz from cpuinfo"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue