diff options
| author | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-01-31 15:54:11 +0000 |
|---|---|---|
| committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-02-03 14:56:40 +0000 |
| commit | 9d4bad45e233ca7d93666ff1feff6282a88f8a9d (patch) | |
| tree | 795d23d4513a145c2c715764a89c0c06b333077e | |
| parent | 465ba08bb53796b24dceca0d2ccde5a0e2630a2b (diff) | |
EVENTHANDLER.9: EVENTHANDLER_REGISTER never fails
Since ecdf4409f910 ("Rework the eventhandler locking [...]"),
EVENTHANDLER_REGISTER() can never return NULL.
Suggested by: olce
Reviewed by: olce, ziaee, zlei
Approved by: olce, zlei
Fixes: ecdf4409f910 ("Rework the eventhandler locking [...]")
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D55014
| -rw-r--r-- | share/man/man9/EVENTHANDLER.9 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/share/man/man9/EVENTHANDLER.9 b/share/man/man9/EVENTHANDLER.9 index 4bf3eebaa445..c3e7c9519b3b 100644 --- a/share/man/man9/EVENTHANDLER.9 +++ b/share/man/man9/EVENTHANDLER.9 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd October 7, 2022 +.Dd January 31, 2025 .Dt EVENTHANDLER 9 .Os .Sh NAME @@ -125,7 +125,6 @@ as its first parameter along with any additional parameters passed in via macro .Fn EVENTHANDLER_INVOKE (see below). -If registration is successful, .Fn EVENTHANDLER_REGISTER returns a cookie of type .Vt eventhandler_tag . |
