-.\" $OpenBSD: cond_init.9,v 1.2 2017/12/14 06:43:44 jmc Exp $ */
+.\" $OpenBSD: cond_init.9,v 1.3 2022/03/11 14:42:08 visa Exp $ */
.\"
.\" Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 14 2017 $
+.Dd $Mdocdate: March 11 2022 $
.Dt COND_INIT 9
.Os
.Sh NAME
is used to sleep on the wait condition
.Fa c
until whatever the thread is waiting on calls
-.Fa cond_signal .
+.Fn cond_signal .
.Fa wmesg
is a pointer to a character string indicating the reason the thread
is sleeping.
.Pp
-.Fa cond_signal
+.Fn cond_signal
is used to notify the thread waiting on
.Fa c
that the work has finished and it may proceed.