Tweak comment to make more clear why it will fail.

Submitted by:	jimharris
This commit is contained in:
attilio 2012-11-02 16:31:01 +00:00
parent 2a05c8d9e2
commit 3ffbd49f4b

View File

@ -129,7 +129,7 @@ void thread_lock_flags_(struct thread *, int, const char *, int);
/*
* Top-level macros to provide lock cookie once the actual mtx is passed.
* They will also prevent passing a malformed object to the mtx KPI by
* failing compilation.
* failing compilation as the mtx_lock reserved member will not be found.
*/
#define mtx_init(m, n, t, o) \
_mtx_init(&(m)->mtx_lock, n, t, o)