diff options
author | keramida <keramida@FreeBSD.org> | 2006-06-23 13:36:33 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2006-06-23 13:36:33 +0000 |
commit | bc2961a729a4554931d290feb2f6bd68b0bfc918 (patch) | |
tree | e1f9b7c8af17edf252ea60c2477c9c9b57c4ab58 /lib | |
parent | b33fcf884064a27e6a0a9d8b7caa2d4b920de35e (diff) | |
download | FreeBSD-src-bc2961a729a4554931d290feb2f6bd68b0bfc918.zip FreeBSD-src-bc2961a729a4554931d290feb2f6bd68b0bfc918.tar.gz |
twalk() expects an `action' function not a comparison function.
The text is correct in the "DESCRIPTION" section, so fix "SYNOPSIS"
to use the correct name.
PR: docs/90498
Submitted by: Vasil Dimov
MFC after: 3 days
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/tsearch.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3 index c0af27f..7a204d0 100644 --- a/lib/libc/stdlib/tsearch.3 +++ b/lib/libc/stdlib/tsearch.3 @@ -42,7 +42,7 @@ .Ft void * .Fn tsearch "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Ft void -.Fn twalk "const void *root" "void (*compar) (const void *, VISIT, int)" +.Fn twalk "const void *root" "void (*action) (const void *, VISIT, int)" .Sh DESCRIPTION The .Fn tdelete , |