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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to