use more libfmt instead of sprintf()

This commit is contained in:
Max Kellermann
2023-03-06 18:47:08 +01:00
parent 02d108774c
commit 415de497d3
18 changed files with 76 additions and 115 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ AudioOutputControl::InternalDrain() noexcept
void
AudioOutputControl::Task() noexcept
{
FormatThreadName("output:%s", GetName().c_str());
FmtThreadName("output:{}", GetName());
try {
SetThreadRealtime();