svn commit: r242483 - head/sys/sys
Attilio Rao
attilio at FreeBSD.org
Fri Nov 2 16:31:02 UTC 2012
Author: attilio
Date: Fri Nov 2 16:31:01 2012
New Revision: 242483
URL: http://svn.freebsd.org/changeset/base/242483
Log:
Tweak comment to make more clear why it will fail.
Submitted by: jimharris
Modified:
head/sys/sys/mutex.h
Modified: head/sys/sys/mutex.h
==============================================================================
--- head/sys/sys/mutex.h Fri Nov 2 16:07:21 2012 (r242482)
+++ head/sys/sys/mutex.h Fri Nov 2 16:31:01 2012 (r242483)
@@ -129,7 +129,7 @@ void thread_lock_flags_(struct thread *,
/*
* 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)
More information about the svn-src-head
mailing list