From owner-svn-soc-all@FreeBSD.ORG Mon Jul 23 20:20:06 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id 4C1B0106566B for ; Mon, 23 Jul 2012 20:20:05 +0000 (UTC) (envelope-from gmiller@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Mon, 23 Jul 2012 20:20:05 +0000 Date: Mon, 23 Jul 2012 20:20:05 +0000 From: gmiller@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120723202005.4C1B0106566B@hub.freebsd.org> Cc: Subject: socsvn commit: r239707 - in soc2012/gmiller/locking-head: . lib/libwitness X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 20:20:06 -0000 Author: gmiller Date: Mon Jul 23 20:20:04 2012 New Revision: 239707 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=239707 Log: r239741@FreeBSD-dev: root | 2012-07-23 11:33:40 -0500 Fix inverted parameter order in pthread_lockorder_set_np(). Modified: soc2012/gmiller/locking-head/ (props changed) soc2012/gmiller/locking-head/lib/libwitness/wrappers.c Modified: soc2012/gmiller/locking-head/lib/libwitness/wrappers.c ============================================================================== --- soc2012/gmiller/locking-head/lib/libwitness/wrappers.c Mon Jul 23 19:23:49 2012 (r239706) +++ soc2012/gmiller/locking-head/lib/libwitness/wrappers.c Mon Jul 23 20:20:04 2012 (r239707) @@ -384,7 +384,7 @@ _pthread_mutex_lock(&witness_mtx); - if (insert_lock(lookup_lock(first), lookup_lock(second)) < 0) { + if (insert_lock(lookup_lock(second), lookup_lock(first)) < 0) { ret = EINVAL; }