aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2007-06-08 13:43:28 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2007-06-08 13:43:28 +0000
commit22b971db877be14d33b832f3cf481c2c2765450c (patch)
treefacf7c8ea2469220b717d0eb8bfe8009fb2885fe
parentdba3c508423366f7ead9e268b8aeb2da05fdd586 (diff)
downloadsrc-22b971db877be14d33b832f3cf481c2c2765450c.tar.gz
src-22b971db877be14d33b832f3cf481c2c2765450c.zip
Replace a constant with an already defined symbolic name for it.
Tested with: md5(1)
Notes
Notes: svn path=/head/; revision=170435
-rw-r--r--sys/netinet/tcp_hostcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c
index 0975639fe862..97b9f466f0dd 100644
--- a/sys/netinet/tcp_hostcache.c
+++ b/sys/netinet/tcp_hostcache.c
@@ -222,7 +222,7 @@ tcp_hc_init(void)
&tcp_hostcache.bucket_limit);
if (!powerof2(tcp_hostcache.hashsize)) {
printf("WARNING: hostcache hash size is not a power of 2.\n");
- tcp_hostcache.hashsize = 512; /* safe default */
+ tcp_hostcache.hashsize = TCP_HOSTCACHE_HASHSIZE; /* default */
}
tcp_hostcache.hashmask = tcp_hostcache.hashsize - 1;