summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2010-08-28 16:32:01 +0000
committerbrucec <brucec@FreeBSD.org>2010-08-28 16:32:01 +0000
commit76d72447281953457a8a3a319fdc80070bc5152c (patch)
tree63ce23a3afd66a826b4c91820bd78ab505f92089 /lib/libc/stdlib
parent7ce28b7066d5299134f831d522470bcecba74fce (diff)
downloadFreeBSD-src-76d72447281953457a8a3a319fdc80070bc5152c.zip
FreeBSD-src-76d72447281953457a8a3a319fdc80070bc5152c.tar.gz
Fix incorrect usage of 'assure' and 'insure'.
Approved by: rrs (mentor)
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 2f21b6a..90781a1 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
OpenPOWER on IntegriCloud