]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
remote: Fix error message
authorCole Robinson <crobinso@redhat.com>
Wed, 23 Mar 2016 20:51:59 +0000 (16:51 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 23 Mar 2016 20:52:12 +0000 (16:52 -0400)
We were printing the wrong MAX value

daemon/remote.c

index 2bf9e83922527b1c94c0bfdadb5575d11758db31..3bf94fa36cebe4a1f2a002cdaea5d7cb0650ed4f 100644 (file)
@@ -5726,7 +5726,7 @@ remoteDispatchConnectGetAllDomainStats(virNetServerPtr server ATTRIBUTE_UNUSED,
         virReportError(VIR_ERR_INTERNAL_ERROR,
                        _("Number of domain stats records is %d, "
                          "which exceeds max limit: %d"),
-                       nrecords, REMOTE_DOMAIN_LIST_MAX);
+                       nrecords, REMOTE_CONNECT_GET_ALL_DOMAIN_STATS_MAX);
         goto cleanup;
     }