fixed.
In message <[EMAIL PROTECTED]>, Harti Brandt writes:
>
>Could please somebody make this little, trivial and obviuos patch, I
>requested it a while ago, or should I make a PR for it??
>
>Hi,
>
>()s are missing around the macro argument in cv_waitq_empty. The call
>
> if(!(cv_waitq_empty(&sc->foo_cv)))
> ...
>
>will otherwise fail to compile.
>
>harti
>
>Index: condvar.h
>===================================================================
>RCS file: /usr/ncvs/src/sys/sys/condvar.h,v
>retrieving revision 1.2
>diff -r1.2 condvar.h
>66c66
>< #define cv_waitq_empty(cvp) (TAILQ_EMPTY(&cvp->cv_waitq))
>---
>> #define cv_waitq_empty(cvp) (TAILQ_EMPTY(&(cvp)->cv_waitq))
>
>
>--
>harti brandt,
>http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
> [EMAIL PROTECTED], [EMAIL PROTECTED]
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-hackers" in the body of the message
>
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message