0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-13 08:23:56 +01:00

ircd::json: Fix format string.

This commit is contained in:
Jason Volk 2020-02-07 12:45:09 -08:00
parent fe9f4aa7eb
commit d512ef1006

View file

@ -4124,7 +4124,7 @@ ircd::json::valid_output(const string_view &sv,
if(unlikely(size(sv) != expected))
throw print_panic
{
"stringified:%zu != serialized:%zu: %s",
"stringified:%zu != serialized:%zu :%s",
size(sv),
expected,
sv
@ -4133,7 +4133,7 @@ ircd::json::valid_output(const string_view &sv,
if(unlikely(!valid(sv, std::nothrow))) //note: false alarm when T=json::member
throw print_panic
{
"strung %zu bytes: %s: %s",
"strung %zu bytes :%s :%s",
size(sv),
why(sv),
sv