Commit ead62aa3 authored by Arne Welzel's avatar Arne Welzel Committed by Kees Cook

fortify: strscpy: Fix flipped q and p docstring typo

Fix typo in the strscpy() docstring where q and p were flipped.
Signed-off-by: default avatarArne Welzel <arne.welzel@corelight.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 2d47c695
...@@ -299,8 +299,8 @@ extern ssize_t __real_strscpy(char *, const char *, size_t) __RENAME(strscpy); ...@@ -299,8 +299,8 @@ extern ssize_t __real_strscpy(char *, const char *, size_t) __RENAME(strscpy);
* @q: Where to copy the string from * @q: Where to copy the string from
* @size: Size of destination buffer * @size: Size of destination buffer
* *
* Copy the source string @p, or as much of it as fits, into the destination * Copy the source string @q, or as much of it as fits, into the destination
* @q buffer. The behavior is undefined if the string buffers overlap. The * @p buffer. The behavior is undefined if the string buffers overlap. The
* destination @p buffer is always NUL terminated, unless it's zero-sized. * destination @p buffer is always NUL terminated, unless it's zero-sized.
* *
* Preferred to strlcpy() since the API doesn't require reading memory * Preferred to strlcpy() since the API doesn't require reading memory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment