From: Benno Schulenberg Date: Thu, 4 Jun 2026 09:52:52 +0000 (+0200) Subject: lastlog2: correct the grammar of an error message, and drop two periods X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa60231688a4c298c4a871076f2dc7ae84a55264;p=thirdparty%2Futil-linux.git lastlog2: correct the grammar of an error message, and drop two periods The grammar of a similar message forty lines down is correct. And a period at the end of an error message is inconsistent. Signed-off-by: Benno Schulenberg --- diff --git a/misc-utils/lastlog2.c b/misc-utils/lastlog2.c index c5e518c3b..838f27db8 100644 --- a/misc-utils/lastlog2.c +++ b/misc-utils/lastlog2.c @@ -236,7 +236,7 @@ int main(int argc, char **argv) } if ((Cflg + Sflg + iflg + jflg) > 1) - errx(EXIT_FAILURE, _("Option -C, -i, -j and -S cannot be used together")); + errx(EXIT_FAILURE, _("Options -C, -i, -j and -S cannot be used together")); db_context = ll2_new_context(lastlog2_path); if (!db_context) @@ -281,7 +281,7 @@ int main(int argc, char **argv) } if ((Cflg || Sflg) && !has_user(user)) { - warnx(_("User '%s' does not exist."), user); + warnx(_("User '%s' does not exist"), user); goto err; } @@ -324,7 +324,7 @@ int main(int argc, char **argv) char *service = NULL; if (!has_user(user)) { - warnx(_("User '%s' does not exist."), user); + warnx(_("User '%s' does not exist"), user); goto err; }