]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
nodeinfo: Fully convert to new virReportError
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Oct 2012 09:46:48 +0000 (11:46 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 18 Oct 2012 17:15:40 +0000 (13:15 -0400)
With our latest s/[a-z]+ReportError/virReportError/ rewrite
(47ab34e2) we forgot to update arm part of the code.
(cherry picked from commit 84a8917b8a1b0d083564e9649269fdd6c0bb45a2)

src/nodeinfo.c

index 4cbfe636f281544cfed167d12ff67863636c7bd4..c0e60d8099ef5bf89fcf4b5c48dc4916fbf829ab 100644 (file)
@@ -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;
             }