From: Jakub Wilk Date: Mon, 26 Jun 2023 18:58:21 +0000 (+0200) Subject: cal: fix error message for bad -c argument X-Git-Tag: v2.39.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7826c3ebeed3f37afcddea31a45bd44d82a88f3f;p=thirdparty%2Futil-linux.git cal: fix error message for bad -c argument --- diff --git a/misc-utils/cal.c b/misc-utils/cal.c index c5be03d205..21eecae9a7 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -433,7 +433,8 @@ int main(int argc, char **argv) if (strcmp(optarg, "auto") == 0) cols = COLUMNS_AUTO; else - cols = strtosize_or_err(optarg, "foo"); + cols = strtosize_or_err(optarg, + _("failed to parse columns")); break; case 'V': print_version(EXIT_SUCCESS);