]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
su-common: pluralize one message
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 4 Oct 2013 20:27:51 +0000 (22:27 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2013 13:27:30 +0000 (15:27 +0200)
Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
login-utils/su-common.c

index 7f1b505bfc2b7df7affd17c251ce5d9fa2b12d25..7fd2792fd655c317037bd47862bc0548a6d60b7a 100644 (file)
@@ -807,7 +807,9 @@ su_main (int argc, char **argv, int mode)
          num_supp_groups++;
          if (num_supp_groups >= NGROUPS_MAX)
             errx(EXIT_FAILURE,
-                 _("can't specify more than %d supplemental groups"),
+                 P_("specifying more than %d supplemental group is not possible",
+                    "specifying more than %d supplemental groups is not possible",
+                    NGROUPS_MAX - 1),
                  NGROUPS_MAX - 1);
          gr = getgrnam(optarg);
          if (!gr)