remote: Fix error message

We were printing the wrong MAX value
This commit is contained in:
Cole Robinson 2016-03-23 16:51:59 -04:00
parent 4b527c1acf
commit 360229e8b4

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