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 <collin.funk1@gmail.com>
This commit is contained in:
Bruno Haible 2025-10-05 21:01:49 -07:00 committed by Collin Funk
parent e6cbc38bfb
commit ed5b1fad62
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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.