From: Cole Robinson Date: Wed, 23 Mar 2016 20:51:59 +0000 (-0400) Subject: remote: Fix error message X-Git-Tag: v1.3.3-rc1~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=360229e8b4c0d99cb90ae83875566170187d6bb1;p=thirdparty%2Flibvirt.git remote: Fix error message We were printing the wrong MAX value --- diff --git a/daemon/remote.c b/daemon/remote.c index 2bf9e83922..3bf94fa36c 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -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; }