diff mbox series

[COMMITTED] debuginfod: Add endl after "fdcache emergency flush for filling tmpdir" log

Message ID 20210912223924.148331-1-mark@klomp.org
State Committed
Headers show
Series [COMMITTED] debuginfod: Add endl after "fdcache emergency flush for filling tmpdir" log | expand

Commit Message

Mark Wielaard Sept. 12, 2021, 10:39 p.m. UTC
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 mbox series

Patch

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)