diff options
author | Rui Paulo <rpaulo@FreeBSD.org> | 2013-03-03 06:42:36 +0000 |
---|---|---|
committer | Rui Paulo <rpaulo@FreeBSD.org> | 2013-03-03 06:42:36 +0000 |
commit | e0dffa2de2d1a19bdf5848f4d1d1b6116771a178 (patch) | |
tree | 6cdecd6fbddc751925b1ce2fc53712682747cd3b /sys/cddl/compat | |
parent | 0b62a022698b0d2d0d4ed87d53238c2cecd73831 (diff) | |
download | src-e0dffa2de2d1a19bdf5848f4d1d1b6116771a178.tar.gz src-e0dffa2de2d1a19bdf5848f4d1d1b6116771a178.zip |
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.).
Notes
Notes:
svn path=/head/; revision=247684
Diffstat (limited to 'sys/cddl/compat')
-rw-r--r-- | sys/cddl/compat/opensolaris/sys/kcondvar.h | 2 |
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 0422ba0791ca..7c6884249a5e 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 */ |