]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
strncat.3: tfix
authorAlejandro Colomar <alx@kernel.org>
Tue, 6 Dec 2022 01:15:24 +0000 (02:15 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 6 Dec 2022 01:15:24 +0000 (02:15 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/strncat.3

index 5ce0418cb93ee8361e07655af7e4af8836f222b0..3b59485909a7981aed6d9a60d41d8af32e535119 100644 (file)
@@ -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