aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-07-06 12:57:02 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-07-06 12:57:02 +0200
commit54d43f67ae620743446f994ddad6d47f2d80d138 (patch)
tree8e2604cd57aa8931943aadc8e450577d7dff629e
parent616617ddf72cd2deeef6161f2dd88637e32f7eb5 (diff)
downloadman-pages-54d43f67ae620743446f994ddad6d47f2d80d138.tar.gz
strcmp.3: wfix
Reported-by: Helge Kreutzmann <debian@helgefjell.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/strcmp.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/strcmp.3 b/man3/strcmp.3
index 474eff2ea8..aba2e1ecc6 100644
--- a/man3/strcmp.3
+++ b/man3/strcmp.3
@@ -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);