diff options
| author | Daniel Gerzo <danger@FreeBSD.org> | 2008-07-11 09:40:14 +0000 |
|---|---|---|
| committer | Daniel Gerzo <danger@FreeBSD.org> | 2008-07-11 09:40:14 +0000 |
| commit | 81380c4e8c0867631d2b1acd309d6456be72c483 (patch) | |
| tree | 28c13e8d7b4df4876a49ba73e048a547dc4825d9 /lib/libc/stdlib | |
| parent | 6276ba90fc0eb1cefbbf8609b3b2bb95eba93ce4 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/hcreate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/hcreate.c b/lib/libc/stdlib/hcreate.c index 58780850be6d..c68fe1b76a52 100644 --- a/lib/libc/stdlib/hcreate.c +++ b/lib/libc/stdlib/hcreate.c @@ -93,7 +93,7 @@ hcreate(size_t nel) size_t idx; unsigned int p2; - /* Make sure this this isn't called when a table already exists. */ + /* Make sure this is not called when a table already exists. */ if (htable != NULL) { errno = EINVAL; return 0; @@ -103,11 +103,11 @@ hcreate(size_t nel) if (nel < MIN_BUCKETS) nel = MIN_BUCKETS; - /* If it's too large, cap it. */ + /* If it is too large, cap it. */ if (nel > MAX_BUCKETS) nel = MAX_BUCKETS; - /* If it's is not a power of two in size, round up. */ + /* If it is not a power of two in size, round up. */ if ((nel & (nel - 1)) != 0) { for (p2 = 0; nel != 0; p2++) nel >>= 1; |
