]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
colrm: make two error messages actually say that something is wrong
authorBenno Schulenberg <bensberg@telfort.nl>
Wed, 28 May 2025 09:37:03 +0000 (11:37 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 29 May 2025 10:04:28 +0000 (12:04 +0200)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
text-utils/colrm.c

index b1370ac81d216054a7e421c3b26a1a48a11cbe57..dd36d18272d25a2e0974c1314969394acbccc749 100644 (file)
@@ -180,9 +180,9 @@ int main(int argc, char **argv)
                }
 
        if (argc > 1)
-               first = strtoul_or_err(*++argv, _("first argument"));
+               first = strtoul_or_err(*++argv, _("invalid first argument"));
        if (argc > 2)
-               last = strtoul_or_err(*++argv, _("second argument"));
+               last = strtoul_or_err(*++argv, _("invalid second argument"));
 
        while (process_input(first, last))
                ;