Thread (21 messages) 21 messages, 2 authors, 2024-06-18

[PATCH 04/16] gethostname.2: fix section reference

From: Kir Kolyshkin <hidden>
Date: 2024-06-17 23:10:58
Subsystem: the rest · Maintainer: Linus Torvalds

There is a reference to NOTES section, which no longer exists since
the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY:
Reorganize sections").

Fixes: 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections")
Signed-off-by: Kir Kolyshkin <redacted>
---
 man/man2/gethostname.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man2/gethostname.2 b/man/man2/gethostname.2
index 1a9fc0d2f..ad9e96b3f 100644
--- a/man/man2/gethostname.2
+++ b/man/man2/gethostname.2
@@ -69,7 +69,7 @@ .SH DESCRIPTION
 .I len
 bytes.
 If the null-terminated hostname is too large to fit,
-then the name is truncated, and no error is returned (but see NOTES below).
+then the name is truncated, and no error is returned (but see VERSIONS below).
 POSIX.1 says that if such truncation occurs,
 then it is unspecified whether the returned buffer
 includes a terminating null byte.
-- 
2.45.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help