Log: remove the obsolete printf-style functions

This commit is contained in:
Max Kellermann
2021-10-13 16:08:48 +02:00
parent 2fbbd540bb
commit 72f6e018e7
17 changed files with 102 additions and 283 deletions

View File

@@ -194,9 +194,9 @@ FifoOutput::Cancel() noexcept
} while (bytes > 0 && errno != EINTR);
if (bytes < 0 && errno != EAGAIN) {
FormatErrno(fifo_output_domain,
"Flush of FIFO \"%s\" failed",
path_utf8.c_str());
FmtError(fifo_output_domain,
"Flush of FIFO \"{}\" failed: %s",
path_utf8, strerror(errno));
}
}