0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 06:51:08 +01:00

ircd::spirit: Fix error format string.

This commit is contained in:
Jason Volk 2020-06-17 22:39:03 -07:00
parent 43c6727492
commit f4b3b6f1e0

View file

@ -253,7 +253,7 @@ ircd::spirit::expectation_failure<parent>::expectation_failure(const qi::expecta
const ssize_t &show_max) const ssize_t &show_max)
:parent :parent
{ {
"Expected %s. You input %zd invalid characters somewhere between position %zd and %zd: %s", "Expected %s. You input %zd invalid characters somewhere between position %zd and %zd :%s",
ircd::string(rule_buffer, e.what_), ircd::string(rule_buffer, e.what_),
std::distance(e.first, e.last), std::distance(e.first, e.last),
std::distance(start, e.first), std::distance(start, e.first),