debuginfod: Add endl after "fdcache emergency flush for filling tmpdir" log
authorMark Wielaard <mark@klomp.org>
Sun, 12 Sep 2021 22:35:55 +0000 (00:35 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 12 Sep 2021 22:37:19 +0000 (00:37 +0200)
Without the endl the next log message will not start on its own line.

Signed-off-by: Mark Wielaard <mark@klomp.org>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx

index 7e221f5..1173f9c 100644 (file)
@@ -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
index 3269f65..6cc9f77 100644 (file)
@@ -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)