From bef2c93a6dd25c60cf064b2b13aa0b93fef2e0ec Mon Sep 17 00:00:00 2001 From: Alexey Yurchenko Date: Sun, 28 Nov 2021 23:07:00 +0200 Subject: [PATCH] Minor logging cleanups (missing newlines) --- src/reporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reporter.cpp b/src/reporter.cpp index b6fed8b..e2f8757 100644 --- a/src/reporter.cpp +++ b/src/reporter.cpp @@ -220,7 +220,7 @@ wsrep::reporter::write_file(double const tstamp) if (fd < 0) { std::cerr << "Reporter could not open temporary file `" << template_ - << "': " << strerror(errno) << " (" << errno << ")"; + << "': " << strerror(errno) << " (" << errno << ")\n"; return; } @@ -258,7 +258,7 @@ wsrep::reporter::write_file(double const tstamp) std::cerr << "Could not write " << str.length() << " bytes to temporary file '" << template_ << "': " << strerror(errno) - << " (" << errno << ")"; + << " (" << errno << ")\n"; return; }