From b4cd46b70da539c1d550cb4b5cabf6881c0e614a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 22 Jun 2025 21:08:08 -0400 Subject: libc: malloc: Fix typos in comment Signed-off-by: Ian Moffett --- lib/libc/src/stdlib/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/src/stdlib') diff --git a/lib/libc/src/stdlib/malloc.c b/lib/libc/src/stdlib/malloc.c index ee7030d..883854d 100644 --- a/lib/libc/src/stdlib/malloc.c +++ b/lib/libc/src/stdlib/malloc.c @@ -69,9 +69,9 @@ static off_t heap_pos = 0; * by bumping a pointer which is O(1). During this state, even after * any calls to free(), we can assume that there is more memory ahead * of us that is free (due to the initial zero-fragmentation). However, - * once we've reached the end of the pool, if any memory has been previous + * once we've reached the end of the pool, if any memory has been previously * freed (indicated by heap_len > 0), we can wrap the tail and start allocating - * in a best-fit fasion as we assume that heap is now fragmented. + * in a best-fit fashion as we can assume that the heap is now fragmented. */ static bool wrap = false; -- cgit v1.2.3