From 059c39a5502f876230319a5089d77e26dcf273de Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 4 Dec 2023 13:39:00 +0100 Subject: string_copying.7: tfix Signed-off-by: Alejandro Colomar --- man7/string_copying.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man7/string_copying.7 b/man7/string_copying.7 index a096bf21e..31dd2cb8b 100644 --- a/man7/string_copying.7 +++ b/man7/string_copying.7 @@ -693,7 +693,7 @@ printf("%.*s\en", (int) len, buf); p = buf; p = mempcpy(p, "Hello ", 6); p = mempcpy(p, "world", 5); -p = mempcpy(p, "!", 1), ""); +p = mempcpy(p, "!", 1); p = stpcpy(p, ""); len = p \- buf; puts(buf); -- cgit v1.2.3