]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
strcmp.3: wfix
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 6 Jul 2020 10:57:02 +0000 (12:57 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 6 Jul 2020 10:57:02 +0000 (12:57 +0200)
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/strcmp.3

index 474eff2ea82b42424f4568eae3358c25ab2d2437..aba2e1ecc6aa1f2e2e0aecf3dd3e5af502293c56 100644 (file)
@@ -196,7 +196,7 @@ main(int argc, char *argv[])
     if (res == 0) {
         printf("<str1> and <str2> are equal");
         if (argc > 3)
-            printf(" in the first %d characters\en", atoi(argv[3]));
+            printf(" in the first %d bytes\en", atoi(argv[3]));
         printf("\en");
     } else if (res < 0) {
         printf("<str1> is less than <str2> (%d)\en", res);