Date: Fri, 2 Nov 2012 16:31:01 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242483 - head/sys/sys Message-ID: <201211021631.qA2GV1Fr059041@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211021631.qA2GV1Fr059041>