diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2017-12-26 14:37:47 +0000 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2017-12-26 14:37:47 +0000 |
| commit | c9256941d0dd26fc7a31820715322f54110b8701 (patch) | |
| tree | 76afa7768dc9e975b8067f1ca28ac543a551c4b9 /sys/netinet/libalias/alias_sctp.c | |
| parent | 4f96b2503dd75e51a2e48afb5406abe919077c94 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/libalias/alias_sctp.c')
| -rw-r--r-- | sys/netinet/libalias/alias_sctp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias_sctp.c b/sys/netinet/libalias/alias_sctp.c index e85ffef91add..05e9292da640 100644 --- a/sys/netinet/libalias/alias_sctp.c +++ b/sys/netinet/libalias/alias_sctp.c @@ -187,7 +187,7 @@ static MALLOC_DEFINE(M_SCTPNAT, "sctpnat", "sctp nat dbs"); /* Use kernel allocator. */ #ifdef _SYS_MALLOC_H_ #define sn_malloc(x) malloc(x, M_SCTPNAT, M_NOWAIT|M_ZERO) -#define sn_calloc(n,x) sn_malloc(x * n) +#define sn_calloc(n,x) sn_malloc((x) * (n)) #define sn_free(x) free(x, M_SCTPNAT) #endif// #ifdef _SYS_MALLOC_H_ |
