event/Thread, ...: fix printf->libfmt remains
This commit is contained in:
parent
0a9bec3754
commit
070c03dbf7
@ -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)
|
|||||||
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
|
|||||||
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
|
|||||||
|
|
||||||
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user