From ed5b1fad62c26fa0138320cd3a69719d074e4926 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 5 Oct 2025 21:01:49 -0700 Subject: [PATCH] manual: fix some mistakes in the indices [BZ #24657] * 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 --- 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 bb8a6cb4e43..84a142c4a53 100644 --- a/manual/errno.texi +++ b/manual/errno.texi @@ -1476,6 +1476,7 @@ As mentioned above, the @code{error} and @code{error_at_line} functions 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 1ca77adc7e7..a97e372cf67 100644 --- a/manual/sysinfo.texi +++ b/manual/sysinfo.texi @@ -145,7 +145,7 @@ This process cannot set the host name because it is not privileged. @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.47.3