From owner-svn-src-all@FreeBSD.ORG Fri Nov 2 16:31:02 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11C61601; Fri, 2 Nov 2012 16:31:02 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id ED9448FC17; Fri, 2 Nov 2012 16:31:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id qA2GV14U059043; Fri, 2 Nov 2012 16:31:01 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id qA2GV1Fr059041; Fri, 2 Nov 2012 16:31:01 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201211021631.qA2GV1Fr059041@svn.freebsd.org> From: Attilio Rao Date: Fri, 2 Nov 2012 16:31:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242483 - head/sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 16:31:02 -0000 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)