Fix typo in printf format string

Signed-off-by: 's avatarDominik Thalhammer <dominik@thalhammer.it>
parent 6f929f58
......@@ -360,7 +360,7 @@ static void HeapScan(enum LOG_LEVELS log_level)
{
storageElement* s = (storageElement*)(current->content);
Log(log_level, -1, "Heap element size %d, line %d, file %s, ptr %p", s->size, s->line, s->file, s->ptr);
Log(log_level, -1, " Content %*.s", (10 > current->size) ? s->size : 10, (char*)(((int*)s->ptr) + 1));
Log(log_level, -1, " Content %.*s", (10 > current->size) ? s->size : 10, (char*)(((int*)s->ptr) + 1));
}
Log(log_level, -1, "Heap scan end");
Thread_unlock_mutex(heap_mutex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment