Fix output of util_memory_d

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-21 10:30:53 +02:00
parent 8fcc528ffa
commit 24acaa4eaf

2
util.c
View file

@ -57,7 +57,7 @@ void util_memory_d(void *ptrn, unsigned int line, const char *file) {
data = (void*)((unsigned char *)ptrn-sizeof(struct memblock_t));
info = (struct memblock_t*)data;
util_debug("MEM", "released: % 8u (bytes) address 0x%08X @ %s:%u\n", info->byte, data, file, line);
util_debug("MEM", "released: % 8u (bytes) address 0x%08X @ %s:%u\n", info->byte, ptrn, file, line);
mem_db += info->byte;
mem_dt++;