about summary refs log tree commit diff
path: root/format/fastxml
diff options
context:
space:
mode:
Diffstat (limited to 'format/fastxml')
-rw-r--r--format/fastxml/types.ha2
1 files changed, 1 insertions, 1 deletions
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 =>