summaryrefslogtreecommitdiffstats
path: root/sys/cddl/compat
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2013-03-03 06:42:36 +0000
committerrpaulo <rpaulo@FreeBSD.org>2013-03-03 06:42:36 +0000
commitf050aa21ec74180d75eb7f31ff4492d403480337 (patch)
tree6cdecd6fbddc751925b1ce2fc53712682747cd3b /sys/cddl/compat
parent2306ec18dbd9dd188707ec88c3a3dff734781df7 (diff)
downloadFreeBSD-src-f050aa21ec74180d75eb7f31ff4492d403480337.zip
FreeBSD-src-f050aa21ec74180d75eb7f31ff4492d403480337.tar.gz
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.).
Diffstat (limited to 'sys/cddl/compat')
-rw-r--r--sys/cddl/compat/opensolaris/sys/kcondvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/kcondvar.h b/sys/cddl/compat/opensolaris/sys/kcondvar.h
index 0422ba0..7c68842 100644
--- a/sys/cddl/compat/opensolaris/sys/kcondvar.h
+++ b/sys/cddl/compat/opensolaris/sys/kcondvar.h
@@ -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 */
OpenPOWER on IntegriCloud