aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorRebecca Cran <brucec@FreeBSD.org>2010-08-28 16:32:01 +0000
committerRebecca Cran <brucec@FreeBSD.org>2010-08-28 16:32:01 +0000
commite7f8dd75b3c11bd606a3a4fa82a3bd7834f65421 (patch)
tree63ce23a3afd66a826b4c91820bd78ab505f92089 /lib/libc/stdlib
parent4e5833219ab708ca2c6b6e626ee2079f2edcf9a3 (diff)
downloadsrc-e7f8dd75b3c11bd606a3a4fa82a3bd7834f65421.tar.gz
src-e7f8dd75b3c11bd606a3a4fa82a3bd7834f65421.zip
Fix incorrect usage of 'assure' and 'insure'.
Approved by: rrs (mentor)
Notes
Notes: svn path=/head/; revision=211936
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/malloc.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 2f21b6a5294e..90781a109613 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -266,7 +266,7 @@ options are enabled, the allocator prefers anonymous mappings over the DSS,
but allocation only fails if memory cannot be acquired via either method.
If neither option is enabled, then the
.Dq M
-option is implicitly enabled in order to assure that there is a method for
+option is implicitly enabled in order to ensure that there is a method for
acquiring memory.
.It N
Double/halve the number of arenas.
@@ -437,7 +437,7 @@ rounded up to the nearest multiple of the chunk size.
.Pp
Allocations are packed tightly together, which can be an issue for
multi-threaded applications.
-If you need to assure that allocations do not suffer from cacheline sharing,
+If you need to ensure that allocations do not suffer from cacheline sharing,
round your allocation requests up to the nearest multiple of the cacheline
size.
.Sh DEBUGGING MALLOC PROBLEMS