summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-09-13 00:35:55 +0200
committerMark Wielaard <mark@klomp.org>2021-09-13 00:37:19 +0200
commit761d37a1e072e7a6c829fdff8cebcf4c308d0e02 (patch)
treef4ed8d0e33a48ee35b3e917a9584b301b3331a49
parent7582a0d3e09ee154961bbba9285a224e5d09f407 (diff)
downloadelfutils-761d37a1e072e7a6c829fdff8cebcf4c308d0e02.tar.gz
debuginfod: Add endl after "fdcache emergency flush for filling tmpdir" log
Without the endl the next log message will not start on its own line. Signed-off-by: Mark Wielaard <mark@klomp.org>
-rw-r--r--debuginfod/ChangeLog5
-rw-r--r--debuginfod/debuginfod.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index 7e221f54..1173f9cd 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -1,3 +1,8 @@
+2021-09-12 Mark Wielaard <mark@klomp.org>
+
+ * debuginfod.cxx (libarchive_fdcache::lookup): Add endl after
+ obatched(clog) line.
+
2021-09-06 Dmitry V. Levin <ldv@altlinux.org>
* debuginfod-client.c (debuginfod_begin): Remove cast of calloc return
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
index 3269f657..6cc9f777 100644
--- a/debuginfod/debuginfod.cxx
+++ b/debuginfod/debuginfod.cxx
@@ -1347,7 +1347,7 @@ public:
if (statfs_free_enough_p(tmpdir, "tmpdir", fdcache_mintmp))
{
inc_metric("fdcache_op_count","op","emerg-flush");
- obatched(clog) << "fdcache emergency flush for filling tmpdir";
+ obatched(clog) << "fdcache emergency flush for filling tmpdir" << endl;
this->limit(0, 0, 0, 0); // emergency flush
}
else if (fd >= 0)