diff options
| author | Daniel Gerzo <danger@FreeBSD.org> | 2008-07-06 11:31:20 +0000 |
|---|---|---|
| committer | Daniel Gerzo <danger@FreeBSD.org> | 2008-07-06 11:31:20 +0000 |
| commit | 408425ce37da455de3c7bd165d431f4d84841b21 (patch) | |
| tree | 86d1dafb74af4615b56c3e62123d435aed82f5e5 /lib/libc/stdlib/hcreate.c | |
| parent | 4436c3559ff4cadc2117c5f340d38333f39ee3d8 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
| -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; |
