summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-10-24 21:07:09 -0400
committerGitHub <noreply@github.com>2024-10-24 21:07:09 -0400
commit274c98628f0537b1f52e828d87727729e9dc635b (patch)
treef657ebf6ae2cb67a289d5323c4ebd87b3b5f7542 /lib/log.c
parentbe3b97d9ed770d2c40bfc3ab18c27154ee8e3f2a (diff)
parentb3e400719750b4b40851be6044315b48f07722cb (diff)
Merge pull request #17155 from opensourcerouting/memstats-zlog
lib: `debug memstats-at-exit` improvements
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index 04b789b5da..2b049cebe4 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -306,7 +306,7 @@ void memory_oom(size_t size, const char *name)
"out of memory: failed to allocate %zu bytes for %s object",
size, name);
zlog_backtrace(LOG_CRIT);
- log_memstats(stderr, "log");
+ log_memstats(zlog_progname, true);
abort();
}