diff options
author | tuexen <tuexen@FreeBSD.org> | 2016-01-30 17:32:46 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2016-01-30 17:32:46 +0000 |
commit | 9103969d651c52b3b37e9a3ce7455d2ba458668c (patch) | |
tree | 4003a65b0056d371d33d9f440eb0a86ab58f2fc4 /sys/netinet | |
parent | bdc2db735b716a3db57871143a45b138b25f57c5 (diff) | |
download | FreeBSD-src-9103969d651c52b3b37e9a3ce7455d2ba458668c.zip FreeBSD-src-9103969d651c52b3b37e9a3ce7455d2ba458668c.tar.gz |
Add missing parentheses. This was reported by ccaughie via GitHub
for the userland stack.
MFC after: 3 days
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_var.h b/sys/netinet/sctp_var.h index ae1b3eb..7213b97 100644 --- a/sys/netinet/sctp_var.h +++ b/sys/netinet/sctp_var.h @@ -86,7 +86,7 @@ extern struct pr_usrreqs sctp_usrreqs; #define sctp_sbspace_failedmsgs(sb) ((long) ((sctp_maxspace(sb) > (sb)->sb_cc) ? (sctp_maxspace(sb) - (sb)->sb_cc) : 0)) -#define sctp_sbspace_sub(a,b) ((a > b) ? (a - b) : 0) +#define sctp_sbspace_sub(a,b) (((a) > (b)) ? ((a) - (b)) : 0) /* * I tried to cache the readq entries at one point. But the reality |