[COMMITTED] manual: fix some mistakes in the indices [BZ #24657]

Collin Funk collin.funk1@gmail.com
Mon Oct 6 04:10:02 GMT 2025


* manual/errno.texi (Error Messages): Add error_print_progname to the
variable index.
* manual/sysinfo.texi (Host Identification): Fix typo of the
getdomainname function.

Reviewed-by: Collin Funk <collin.funk1@gmail.com>

-- 8< --

This patch was attached to a bug report submitted by Bruno Haible. I
committed and pushed it under his name with my review since it is
obvious.

---
 manual/errno.texi   | 1 +
 manual/sysinfo.texi | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/manual/errno.texi b/manual/errno.texi
index bb8a6cb4e4..84a142c4a5 100644
--- a/manual/errno.texi
+++ b/manual/errno.texi
@@ -1476,6 +1476,7 @@ @node Error Messages,  , Error Codes, Error Reporting
 can be customized by defining a variable named
 @code{error_print_progname}.
 
+@vindex error_print_progname
 @deftypevar {void (*error_print_progname)} (void)
 @standards{GNU, error.h}
 If the @code{error_print_progname} variable is defined to a non-zero
diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi
index 1ca77adc7e..a97e372cf6 100644
--- a/manual/sysinfo.texi
+++ b/manual/sysinfo.texi
@@ -145,7 +145,7 @@ @node Host Identification
 @end table
 @end deftypefun
 
-@deftypefun int getdomainnname (char *@var{name}, size_t @var{length})
+@deftypefun int getdomainname (char *@var{name}, size_t @var{length})
 @standards{???, unistd.h}
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 @c Syscalls uname, then strlen and memcpy.
-- 
2.51.0



More information about the Libc-alpha mailing list