diff options
author | Xeonacid <Xeonacid@protonmail.com> | 2021-06-02 10:12:48 +0000 |
---|---|---|
committer | Paul Zimmermann <Paul.Zimmermann@inria.fr> | 2021-06-02 12:16:49 +0200 |
commit | 5295172e20330d2147b0580770c69a1bad32828d (patch) | |
tree | d67b6bb8764fb0857c37090a3a480f181e7ef86f /malloc | |
parent | a23c28ec0d1cd67d25972181f613ef6dbfe4e299 (diff) | |
download | glibc-5295172e20330d2147b0580770c69a1bad32828d.tar.gz glibc-5295172e20330d2147b0580770c69a1bad32828d.tar.xz glibc-5295172e20330d2147b0580770c69a1bad32828d.zip |
fix typo
"accomodate" should be "accommodate" Reviewed-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index e2d7b1b583..0e2e1747e0 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -1477,7 +1477,7 @@ checked_request2size (size_t req, size_t *sz) __nonnull (1) chunksize (p) - CHUNK_HDR_SZ : \ chunksize (p) - CHUNK_HDR_SZ + (chunk_is_mmapped (p) ? 0 : SIZE_SZ)) -/* If memory tagging is enabled the layout changes to accomodate the granule +/* If memory tagging is enabled the layout changes to accommodate the granule size, this is wasteful for small allocations so not done by default. Both the chunk header and user data has to be granule aligned. */ _Static_assert (__MTAG_GRANULE_SIZE <= CHUNK_HDR_SZ, |