]> xenbits.xensource.com Git - 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)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Oct 2012 13:17:20 +0000 (15:17 +0200)
With our latest s/[a-z]+ReportError/virReportError/ rewrite
(47ab34e2) we forgot to update arm part of the code.

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;
             }