Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2013 06:42:36 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247684 - head/sys/cddl/compat/opensolaris/sys
Message-ID:  <201303030642.r236ga0i021707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sun Mar  3 06:42:36 2013
New Revision: 247684
URL: http://svnweb.freebsd.org/changeset/base/247684

Log:
  Remove the extra parenthesis from the cv_init() macro. They are not
  necessary because we already use parenthesis in zfs_cv_init().
  
  This fixes a long standing bug where there would be an extra ")" at the
  end of the string. This extra parenthesis would show up in the WCHAN of
  the process (top, stty status, etc.).

Modified:
  head/sys/cddl/compat/opensolaris/sys/kcondvar.h

Modified: head/sys/cddl/compat/opensolaris/sys/kcondvar.h
==============================================================================
--- head/sys/cddl/compat/opensolaris/sys/kcondvar.h	Sun Mar  3 02:11:03 2013	(r247683)
+++ head/sys/cddl/compat/opensolaris/sys/kcondvar.h	Sun Mar  3 06:42:36 2013	(r247684)
@@ -55,7 +55,7 @@ typedef enum {
 		_name = #cv;						\
 	cv_init((cv), _name);						\
 } while (0)
-#define	cv_init(cv, name, type, arg)	zfs_cv_init((cv), (name), (type), (arg))
+#define	cv_init(cv, name, type, arg)	zfs_cv_init(cv, name, type, arg)
 
 #endif	/* _KERNEL */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303030642.r236ga0i021707>