]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpc: Fix error message in virNetServerSetClientLimits
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 24 Jan 2023 12:45:09 +0000 (13:45 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 24 Jan 2023 13:13:06 +0000 (14:13 +0100)
Commit f007940cb25a tried to change the error message so that it is unified
later in 35afa1d2d6c1, but various rewrites missed this particular error message
which does not make sense.  Fix it so that it is the same as the other two
messages checking the same thing in this file.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2033879

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/rpc/virnetserver.c

index bf0fda04ee8957ffcc9e5e38b1078dbf81c9a384..e97dfe81369f849939730b09303171a10cf9337e 100644 (file)
@@ -1127,9 +1127,8 @@ virNetServerSetClientLimits(virNetServer *srv,
 
     if (max < max_unauth) {
         virReportError(VIR_ERR_INVALID_ARG, "%s",
-                       _("The overall maximum number of clients waiting "
-                         "for authentication must not be less than the overall "
-                         "maximum number of clients"));
+                       _("The overall maximum number of clients must not be less "
+                         "than the number of clients waiting for authentication"));
         return -1;
     }