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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <kolyshkin@xxxxxxxxx>
---
 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





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux