From 62d0add1ec396dffae114545fc0427efc6c7153a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 21 Mar 2025 10:39:56 +0100 Subject: all: nomem updates Signed-off-by: Drew DeVault --- format/fastxml/types.ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'format/fastxml') diff --git a/format/fastxml/types.ha b/format/fastxml/types.ha index f998a97..c0e57d6 100644 --- a/format/fastxml/types.ha +++ b/format/fastxml/types.ha @@ -56,7 +56,7 @@ export fn strerror(err: error) const str = { static let buf: [2048]u8 = [0...]; match (err) { case let err: syntaxerr => - return fmt::bsprintf(buf, "Syntax error on line {}", err: size); + return fmt::bsprintf(buf, "Syntax error on line {}", err: size)!; case utf8::invalid => return "Document is not valid UTF-8"; case let err: io::error => -- cgit 1.3.0-6-gf8a5