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 */
 
_______________________________________________
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