]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-admin: Fix two error messages
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Tue, 3 Jul 2018 11:37:37 +0000 (13:37 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 21 Jul 2018 11:46:45 +0000 (07:46 -0400)
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tools/virt-admin.c

index c86b5763a73cf44106f41a3aa0efa0419bb876a8..107a1d870df5ad114d4c53eefd8d020d99631f19 100644 (file)
@@ -552,7 +552,8 @@ cmdSrvThreadpoolSet(vshControl *ctl, const vshCmd *cmd)
                               VIR_THREADPOOL_WORKERS_MAX, &max) &&
         virTypedParamsGetUInt(params, nparams,
                               VIR_THREADPOOL_WORKERS_MIN, &min) && min > max) {
-        vshError(ctl, "%s", _("--min-workers must be less than --max-workers"));
+        vshError(ctl, "%s", _("--min-workers must be less than or equal to "
+                              "--max-workers"));
         goto cleanup;
     }
 
@@ -952,7 +953,7 @@ cmdSrvClientsSet(vshControl *ctl, const vshCmd *cmd)
         virTypedParamsGetUInt(params, nparams,
                               VIR_SERVER_CLIENTS_UNAUTH_MAX, &unauth_max) &&
         unauth_max > max) {
-        vshError(ctl, "%s", _("--max-unauth-clients must be less than "
+        vshError(ctl, "%s", _("--max-unauth-clients must be less than or equal to "
                               "--max-clients"));
         goto cleanup;
     }