diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-02-12 02:04:29 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-02-12 02:19:03 +0100 |
commit | ca762637a55c345616411e74a1cadde134a337f9 (patch) | |
tree | 2b6d1182a38de9520cc7302af8ce6d6f0b2dee01 | |
parent | 7ddc26c10d1644e9f6134eaf45d27af1c249528b (diff) | |
download | man-pages-ca762637a55c345616411e74a1cadde134a337f9.tar.gz |
man*/: ffix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man2/userfaultfd.2 | 2 | ||||
-rw-r--r-- | man3/stpncpy.3 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 index 160261e2d0..fa6038774e 100644 --- a/man2/userfaultfd.2 +++ b/man2/userfaultfd.2 @@ -882,7 +882,7 @@ main(int argc, char *argv[]) \& /* NOTE: Two-step feature handshake is not needed here, since this example doesn't require any specific features. - +\& Programs that *do* should call UFFDIO_API twice: once with `features = 0` to detect features supported by this kernel, and again with the subset of features the program actually wants to diff --git a/man3/stpncpy.3 b/man3/stpncpy.3 index 1b7f5c700a..9544682fc9 100644 --- a/man3/stpncpy.3 +++ b/man3/stpncpy.3 @@ -64,7 +64,7 @@ char * stpncpy(char *restrict dst, const char *restrict src, size_t dsize) { size_t dlen; - +\& dlen = strnlen(src, dsize); return memset(mempcpy(dst, src, dlen), 0, dsize \- dlen); } |