mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 02:30:38 +00:00
memory: restore 'memstats:' keyword when logging memstats - useful in log
This commit is contained in:
parent
17d06b64d0
commit
f9fe627886
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user