mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 08:35:22 +00:00
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. (cherry picked from commit84a8917b8a
)
This commit is contained in:
parent
47489d64c6
commit
d2c0f2e3b9
@ -423,8 +423,8 @@ int linuxNodeInfoCPUPopulate(FILE *cpuinfo,
|
|||||||
buf++;
|
buf++;
|
||||||
|
|
||||||
if (*buf != ':' || !buf[1]) {
|
if (*buf != ':' || !buf[1]) {
|
||||||
nodeReportError(VIR_ERR_INTERNAL_ERROR,
|
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s", _("parsing cpu MHz from cpuinfo"));
|
"%s", _("parsing cpu MHz from cpuinfo"));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user