diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-12-04 13:39:00 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-12-04 13:39:00 +0100 |
commit | 059c39a5502f876230319a5089d77e26dcf273de (patch) | |
tree | b3c6b5d54ca239d541f857dde70e39b67201c514 | |
parent | 1911b2b946f6914e90c2be4e743d03f1c25d6c95 (diff) |
string_copying.7: tfix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man7/string_copying.7 | 2 |
1 files changed, 1 insertions, 1 deletions
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); |