summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slab.c b/src/slab.c
index 12ca1a938c..114259002f 100644
--- a/src/slab.c
+++ b/src/slab.c
@@ -540,7 +540,7 @@ void *rt_malloc(rt_size_t size)
{
RT_ASSERT(z->z_nfree > 0);
- /* Remove us from the zone_array[] when we become empty */
+ /* Remove us from the zone_array[] when we become full */
if (--z->z_nfree == 0)
{
zone_array[zi] = z->z_next;