Commit 070c03db authored by Max Kellermann's avatar Max Kellermann

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

parent 0a9bec37
...@@ -62,7 +62,7 @@ EventThread::Run() noexcept ...@@ -62,7 +62,7 @@ EventThread::Run() noexcept
SetThreadRealtime(); SetThreadRealtime();
} catch (...) { } catch (...) {
FmtInfo(event_domain, FmtInfo(event_domain,
"RTIOThread could not get realtime scheduling, continuing anyway: %s", "RTIOThread could not get realtime scheduling, continuing anyway: {}",
std::current_exception()); std::current_exception());
} }
} }
......
...@@ -71,12 +71,12 @@ input_stream_global_init(const ConfigData &config, EventLoop &event_loop) ...@@ -71,12 +71,12 @@ input_stream_global_init(const ConfigData &config, EventLoop &event_loop)
input_plugins_enabled[i] = true; input_plugins_enabled[i] = true;
} catch (const PluginUnconfigured &e) { } catch (const PluginUnconfigured &e) {
FmtDebug(input_domain, FmtDebug(input_domain,
"Input plugin '{}' is not configured: %s", "Input plugin '{}' is not configured: {}",
plugin->name, e.what()); plugin->name, e.what());
continue; continue;
} catch (const PluginUnavailable &e) { } catch (const PluginUnavailable &e) {
FmtDebug(input_domain, FmtDebug(input_domain,
"Input plugin '{}' is unavailable: %s", "Input plugin '{}' is unavailable: {}",
plugin->name, e.what()); plugin->name, e.what());
continue; continue;
} catch (...) { } catch (...) {
......
...@@ -435,7 +435,7 @@ AudioOutputControl::Task() noexcept ...@@ -435,7 +435,7 @@ AudioOutputControl::Task() noexcept
SetThreadRealtime(); SetThreadRealtime();
} catch (...) { } catch (...) {
FmtInfo(output_domain, FmtInfo(output_domain,
"OutputThread could not get realtime scheduling, continuing anyway: %s", "OutputThread could not get realtime scheduling, continuing anyway: {}",
std::current_exception()); std::current_exception());
} }
......
...@@ -195,7 +195,7 @@ FifoOutput::Cancel() noexcept ...@@ -195,7 +195,7 @@ FifoOutput::Cancel() noexcept
if (bytes < 0 && errno != EAGAIN) { if (bytes < 0 && errno != EAGAIN) {
FmtError(fifo_output_domain, FmtError(fifo_output_domain,
"Flush of FIFO \"{}\" failed: %s", "Flush of FIFO \"{}\" failed: {}",
path_utf8, strerror(errno)); path_utf8, strerror(errno));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment