]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: reuse error message
authorKarel Zak <kzak@redhat.com>
Fri, 8 Dec 2023 12:16:23 +0000 (13:16 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 8 Dec 2023 12:16:23 +0000 (13:16 +0100)
The only hwclock is the place we use this message.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/hwclock.c

index e310cbcc72627843568c6aa6389d84324c1f2aec..9579d9f910b3143593903b2af3ffc0af256f3118 100644 (file)
@@ -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);
        }