event/Thread, ...: fix printf->libfmt remains

This commit is contained in:
Max Kellermann 2021-10-19 13:19:04 +02:00
parent 0a9bec3754
commit 070c03dbf7
4 changed files with 5 additions and 5 deletions

View File

@ -62,7 +62,7 @@ EventThread::Run() noexcept
SetThreadRealtime();
} catch (...) {
FmtInfo(event_domain,
"RTIOThread could not get realtime scheduling, continuing anyway: %s",
"RTIOThread could not get realtime scheduling, continuing anyway: {}",
std::current_exception());
}
}

View File

@ -71,12 +71,12 @@ input_stream_global_init(const ConfigData &config, EventLoop &event_loop)
input_plugins_enabled[i] = true;
} catch (const PluginUnconfigured &e) {
FmtDebug(input_domain,
"Input plugin '{}' is not configured: %s",
"Input plugin '{}' is not configured: {}",
plugin->name, e.what());
continue;
} catch (const PluginUnavailable &e) {
FmtDebug(input_domain,
"Input plugin '{}' is unavailable: %s",
"Input plugin '{}' is unavailable: {}",
plugin->name, e.what());
continue;
} catch (...) {

View File

@ -435,7 +435,7 @@ AudioOutputControl::Task() noexcept
SetThreadRealtime();
} catch (...) {
FmtInfo(output_domain,
"OutputThread could not get realtime scheduling, continuing anyway: %s",
"OutputThread could not get realtime scheduling, continuing anyway: {}",
std::current_exception());
}

View File

@ -195,7 +195,7 @@ FifoOutput::Cancel() noexcept
if (bytes < 0 && errno != EAGAIN) {
FmtError(fifo_output_domain,
"Flush of FIFO \"{}\" failed: %s",
"Flush of FIFO \"{}\" failed: {}",
path_utf8, strerror(errno));
}
}