aboutsummaryrefslogtreecommitdiffstats
path: root/src/chheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chheap.c')
-rw-r--r--src/chheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chheap.c b/src/chheap.c
index e8ce605c7..7a2f0ccac 100644
--- a/src/chheap.c
+++ b/src/chheap.c
@@ -150,7 +150,7 @@ void chHeapFree(void *p) {
hp = (struct header *)p - 1;
- chDbgAssert(hp->h_magig == MAGIC, "chheap.c, chHeapFree() #1");
+ chDbgAssert(hp->h_magic == MAGIC, "chheap.c, chHeapFree() #1");
qp = &heap.free;
H_LOCK();