]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Adjust twalk_r documentation.
authorCarlos O'Donell <carlos@redhat.com>
Tue, 14 May 2019 19:33:02 +0000 (15:33 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Tue, 14 May 2019 19:56:56 +0000 (15:56 -0400)
Reviewed-by: Florian Weimer <fweimer@redhat.com>
ChangeLog
manual/search.texi

index 7f2ed939a7b8af65c65cbf16acd7561bb1aa8137..edfb9ad96bc7957d27f17ac16a8bca4ccaf276d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-05-14  Carlos O'Donell  <carlos@redhat.com>
+
+       * manual/search.texi (Tree Search Function): Adjust twalk_r
+       documentation.
+
 2019-05-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        [BZ #24544]
index 979732f02723fabd7a5e4b8d3200f510dc564b6d..60c851229c33d0bff7fa8aa0db6bd1be0215b5c3 100644 (file)
@@ -630,8 +630,8 @@ see the @code{twalk_r} function below.
 For each node in the tree with a node pointed to by @var{root}, the
 @code{twalk_r} function calls the function provided by the parameter
 @var{action}.  For leaf nodes the function is called exactly once with
-@var{value} set to @code{leaf}.  For internal nodes the function is
-called three times, setting the @var{value} parameter or @var{action} to
+@var{which} set to @code{leaf}.  For internal nodes the function is
+called three times, setting the @var{which} parameter of @var{action} to
 the appropriate value.  The @var{closure} parameter is passed down to
 each call of the @var{action} function, unmodified.