summaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-11-01 17:31:22 +0100
committerAlejandro Colomar <alx@kernel.org>2023-11-01 17:31:24 +0100
commit1a2af84e62456a6ae29f1a1e1f73d761189065be (patch)
tree078e6e3829bc4223965175a2d200167aa7779ed4 /man2
parent43fa7ba506ff46c76d2632ca6a3ff32446c12220 (diff)
readlink.2: tfix (Remove repeated word)
Fixes: f06a3f30fa66 ("readlink.2: Fix an off-by-one error in example code") Reported-by: Helge Kreutzmann <debian@helgefjell.de> Cc: Mario Blaettermann <mario.blaettermann@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man2')
-rw-r--r--man2/readlink.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/readlink.2 b/man2/readlink.2
index 2e782427f..da671a9be 100644
--- a/man2/readlink.2
+++ b/man2/readlink.2
@@ -307,7 +307,7 @@ main(int argc, char *argv[])
null byte (\[aq]\e0\[aq]). */
printf("\[aq]%s\[aq] points to \[aq]%.*s\[aq]\en", argv[1], (int) nbytes, buf);
\&
- /* If the return value was equal to the buffer size, then the
+ /* If the return value was equal to the buffer size, then
the link target was larger than expected (perhaps because the
target was changed between the call to lstat() and the call to
readlink()). Warn the user that the returned target may have