about summary refs log tree commit diff
path: root/manual/nss.texi
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-01-07 11:42:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-01-07 11:42:04 +0100
commit010fe2317732b009e096cba9df14d5a56ec28de9 (patch)
treeaa3b9b35ea883421ef6d66161beaabbee59ff639 /manual/nss.texi
parentb79dc8d0fec37d774d6c7161c96b2cd543c155de (diff)
downloadglibc-010fe2317732b009e096cba9df14d5a56ec28de9.tar.gz
glibc-010fe2317732b009e096cba9df14d5a56ec28de9.tar.xz
glibc-010fe2317732b009e096cba9df14d5a56ec28de9.zip
manual: Use @code{errno} instead of @var{errno} [BZ #24063]
@var is intended for placeholders (such as function parameters).
Actual variables need to use @code because @var causes upper-case
output, resulting in a different C identifier.
Diffstat (limited to 'manual/nss.texi')
-rw-r--r--manual/nss.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/nss.texi b/manual/nss.texi
index 18361b6f42..164ae33246 100644
--- a/manual/nss.texi
+++ b/manual/nss.texi
@@ -691,7 +691,7 @@ function.  Therefore one must not misuse this buffer to save some state
 information from one call to another.
 
 Before the function returns with a failure code, the implementation
-should store the value of the local @var{errno} variable in the variable
+should store the value of the local @code{errno} variable in the variable
 pointed to be @var{errnop}.  This is important to guarantee the module
 working in statically linked programs.  The stored value must not be
 zero.
@@ -725,7 +725,7 @@ The implementation of this function should honor the @var{stayopen}
 flag set by the @code{set@var{DB}ent} function whenever this makes sense.
 
 Before the function returns, the implementation should store the value of
-the local @var{errno} variable in the variable pointed to by
+the local @code{errno} variable in the variable pointed to by
 @var{errnop}.  This is important to guarantee the module works in
 statically linked programs.