memory: restore 'memstats:' keyword when logging memstats - useful in log

This commit is contained in:
Lou Berger 2016-09-24 09:18:23 -04:00 committed by Donald Sharp
parent 17d06b64d0
commit f9fe627886

View File

@ -134,7 +134,7 @@ qmem_exit_walker (void *arg, struct memgroup *mg, struct memtype *mt)
char size[32];
eda->error++;
snprintf (size, sizeof (size), "%10zu", mt->size);
fprintf (stderr, "%s: %-30s: %6zu * %s\n",
fprintf (stderr, "%s: memstats: %-30s: %6zu * %s\n",
eda->prefix, mt->name, mt->n_alloc,
mt->size == SIZE_VAR ? "(variably sized)" : size);
}