From 360229e8b4c0d99cb90ae83875566170187d6bb1 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Wed, 23 Mar 2016 16:51:59 -0400 Subject: [PATCH] remote: Fix error message We were printing the wrong MAX value --- daemon/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- GitLab