diff options
author | Lou Berger <lberger@labn.net> | 2016-09-24 15:18:23 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-30 18:56:42 +0200 |
commit | f9fe6278862d31a6d9fb2552e7ff8a63ac0812db (patch) | |
tree | fe8a980abc5d0452cb39b617e5ad73abc91e7e90 /lib/memory.c | |
parent | log.h: restore vzlog extern (diff) | |
download | frr-f9fe6278862d31a6d9fb2552e7ff8a63ac0812db.tar.xz frr-f9fe6278862d31a6d9fb2552e7ff8a63ac0812db.zip |
memory: restore 'memstats:' keyword when logging memstats - useful in log
Diffstat (limited to 'lib/memory.c')
-rw-r--r-- | lib/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memory.c b/lib/memory.c index 38e424da7..99b191c2b 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -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); } |