Fixed bug with handling of . and .. that was trashing the heap. Fixed soname of libgc...
[tpg/acess2.git] / Kernel / heap.c
index 79f5f40..0bffaec 100644 (file)
@@ -280,7 +280,7 @@ void free(void *Ptr)
                return;
        }
        if(foot->Magic != MAGIC_FOOT) {
-               Warning("free - Footer magic is invalid (%p, 0x%x)\n", head, foot->Magic);
+               Warning("free - Footer magic is invalid (%p, %p = 0x%x)\n", head, &foot->Magic, foot->Magic);
                return;
        }
        

UCC git Repository :: git.ucc.asn.au