summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2022-12-06 02:15:24 +0100
committerAlejandro Colomar <alx@kernel.org>2022-12-06 02:15:24 +0100
commit9baab44e7d2d930a1a69e39ef697ab56e43ef176 (patch)
treecf994eb7cb5e780b172bafc9db17ce97ab59e4e2
parentb8b5be677c13883bd7d42b475579f32bc911887a (diff)
strncat.3: tfix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/strncat.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/strncat.3 b/man3/strncat.3
index 5ce0418cb..3b5948590 100644
--- a/man3/strncat.3
+++ b/man3/strncat.3
@@ -13,7 +13,7 @@ Standard C library
.B #include <string.h>
.PP
.B [[deprecated]]
-.BI "char *strncat(char " dest "[restrict strlen(." dest ") + strnlen(." n ") + 1],"
+.BI "char *strncat(char " dest "[restrict strlen(." dest ") + strnlen(." src ") + 1],"
.BI " const char " src "[restrict ." n ],
.BI " size_t " n );
.fi