diff --git a/NEWS b/NEWS index 0825c118e..41c2a23fe 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,7 @@ ver 0.23.13 (not yet released) * Linux - shut down if parent process dies in --no-daemon mode - determine systemd unit directories via pkg-config +* support libfmt 10 ver 0.23.12 (2023/01/17) * input diff --git a/src/TimePrint.cxx b/src/TimePrint.cxx index 6f8cca631..44f895e69 100644 --- a/src/TimePrint.cxx +++ b/src/TimePrint.cxx @@ -36,5 +36,5 @@ time_print(Response &r, const char *name, return; } - r.Fmt(FMT_STRING("{}: {}\n"), name, s); + r.Fmt(FMT_STRING("{}: {}\n"), name, s.c_str()); }