manual: fix description for preadv()

Message ID 20210706105448.2343087-1-armin.brauns@gmail.com
State Committed
Commit b156c5f0a72eca8b28e1e5a5e51f29cf5ffb3bfb
Headers
Series manual: fix description for preadv() |

Checks

Context Check Description
dj/TryBot-32bit fail Patch caused testsuite regressions
dj/TryBot-apply_patch success Patch applied to master at the time it was sent

Commit Message

Armin Brauns July 6, 2021, 10:54 a.m. UTC
  ---
 manual/llio.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Florian Weimer July 6, 2021, 2:24 p.m. UTC | #1
* Armin Brauns via Libc-alpha:

> ---
>  manual/llio.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/manual/llio.texi b/manual/llio.texi
> index cbc4909fd5..eafc27120d 100644
> --- a/manual/llio.texi
> +++ b/manual/llio.texi
> @@ -1161,7 +1161,7 @@ error.  The possible errors are the same as in @code{write}.
>  
>  This function is similar to the @code{readv} function, with the difference
>  it adds an extra @var{offset} parameter of type @code{off_t} similar to
> -@code{pread}.  The data is written to the file starting at position
> +@code{pread}.  The data is read from the file starting at position
>  @var{offset}.  The position of the file descriptor itself is not affected
>  by the operation.  The value is the same as before the call.

Thanks, applied.

Florian
  

Patch

diff --git a/manual/llio.texi b/manual/llio.texi
index cbc4909fd5..eafc27120d 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -1161,7 +1161,7 @@  error.  The possible errors are the same as in @code{write}.
 
 This function is similar to the @code{readv} function, with the difference
 it adds an extra @var{offset} parameter of type @code{off_t} similar to
-@code{pread}.  The data is written to the file starting at position
+@code{pread}.  The data is read from the file starting at position
 @var{offset}.  The position of the file descriptor itself is not affected
 by the operation.  The value is the same as before the call.