HomeFreeBSD

Fix initialization of eventhandler mutex.

Description

Fix initialization of eventhandler mutex.

mtx_init does not do a copy of the name string it is passed. The
eventhandler code incorrectly passed the parameter string directly to
mtx_init instead of using the copy it makes. This was an existing
problem with the code that I dutifully copied over in my changes in r325621.

Reported by: Anton Rang <rang AT acm.org>
Reviewed by: rstone, markj
Approved by: rstone (mentor)
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D14764

Details

Provenance
mjorasAuthored on
Reviewer
rstone
Differential Revision
D14764: Fix initialization of eventhandler mutex.
Parents
rS331226: Rename linuxulator functions with linux_ prefix
Branches
Unknown
Tags
Unknown