summaryrefslogtreecommitdiffstats
path: root/lib/memory.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-09-24 15:18:23 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-30 18:56:42 +0200
commitf9fe6278862d31a6d9fb2552e7ff8a63ac0812db (patch)
treefe8a980abc5d0452cb39b617e5ad73abc91e7e90 /lib/memory.c
parentlog.h: restore vzlog extern (diff)
downloadfrr-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.c2
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);
}