From: Karel Zak Date: Fri, 8 Dec 2023 12:16:23 +0000 (+0100) Subject: hwclock: reuse error message X-Git-Tag: v2.40-rc1~119 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bd99ecdaa505ec3e1847bb6c3b573a54650493a;p=thirdparty%2Futil-linux.git hwclock: reuse error message The only hwclock is the place we use this message. Signed-off-by: Karel Zak --- diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index e310cbcc72..9579d9f910 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1519,7 +1519,7 @@ int main(int argc, char **argv) } if (argc -= optind) { - warnx(_("%d too many arguments given"), argc); + warnx(_("too many arguments")); errtryhelp(EXIT_FAILURE); }