aboutsummaryrefslogtreecommitdiffstats
path: root/lib/malloc/gmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/malloc/gmalloc.c')
-rw-r--r--lib/malloc/gmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/malloc/gmalloc.c b/lib/malloc/gmalloc.c
index 8441b0f..c21d447 100644
--- a/lib/malloc/gmalloc.c
+++ b/lib/malloc/gmalloc.c
@@ -651,7 +651,7 @@ imalloc (size)
final free block; if so we don't need to get as much. */
if (_heaplimit != 0 && block + lastblocks == _heaplimit &&
/* We can't do this if we will have to make the heap info
- table bigger to accomodate the new space. */
+ table bigger to accomodate the new space. */
block + wantblocks <= heapsize &&
get_contiguous_space ((wantblocks - lastblocks) * BLOCKSIZE,
ADDRESS (block + lastblocks)))
@@ -1165,7 +1165,7 @@ irealloc (ptr, size)
the thing we just freed. Unfortunately it might
have been coalesced with its neighbors. */
if (_heapindex == block)
- (void) imalloc (blocks * BLOCKSIZE);
+ (void) imalloc (blocks * BLOCKSIZE);
else
{
genptr_t previous;