public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] debuginfod: Add endl after "fdcache emergency flush for filling tmpdir" log
@ 2021-09-12 22:39 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2021-09-12 22:39 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Mark Wielaard

Without the endl the next log message will not start on its own line.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 debuginfod/ChangeLog      | 5 +++++
 debuginfod/debuginfod.cxx | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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)
-- 
2.32.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-12 22:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-12 22:39 [COMMITTED] debuginfod: Add endl after "fdcache emergency flush for filling tmpdir" log Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).