Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2023 02:31:26 GMT
From:      Allan Jude <allanjude@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: df91d8167d97 - main - mutex(9): correct man page, mtx_trylock_spin returns int not void
Message-ID:  <202302180231.31I2VQHb062490@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by allanjude:

URL: https://cgit.FreeBSD.org/src/commit/?id=df91d8167d97fcddc5831af923729d000c7f5b45

commit df91d8167d97fcddc5831af923729d000c7f5b45
Author:     Allan Jude <allanjude@FreeBSD.org>
AuthorDate: 2022-05-22 00:13:16 +0000
Commit:     Allan Jude <allanjude@FreeBSD.org>
CommitDate: 2023-02-18 02:30:18 +0000

    mutex(9): correct man page, mtx_trylock_spin returns int not void
    
    Reviewed by:    kib, pauamma, debdrup
    Sponsored by:   Klara Inc.
    Differential Revision:  https://reviews.freebsd.org/D35283
---
 share/man/man9/mutex.9 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9
index 43d523a56c98..cb207ff4596a 100644
--- a/share/man/man9/mutex.9
+++ b/share/man/man9/mutex.9
@@ -28,7 +28,7 @@
 .\"	from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $
 .\" $FreeBSD$
 .\"
-.Dd May 24, 2017
+.Dd February 17, 2023
 .Dt MUTEX 9
 .Os
 .Sh NAME
@@ -74,7 +74,7 @@
 .Fn mtx_trylock "struct mtx *mutex"
 .Ft int
 .Fn mtx_trylock_flags "struct mtx *mutex" "int flags"
-.Ft void
+.Ft int
 .Fn mtx_trylock_spin "struct mtx *mutex"
 .Ft int
 .Fn mtx_trylock_spin_flags "struct mtx *mutex" "int flags"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302180231.31I2VQHb062490>