aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/util.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-28 16:52:30 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-28 16:52:30 -0500
commit273ef13fe728e3722f76098178f78508fb439b36 (patch)
treeaea24cc13bab155466028b222b92af7473d47e23 /src/stdlib/util.h
parentf6b140681d21a6cb631e0ea5733d82a53ef97d25 (diff)
Fix some calls to fail()
Diffstat (limited to 'src/stdlib/util.h')
-rw-r--r--src/stdlib/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/util.h b/src/stdlib/util.h
index 3ab025f4..8341fee5 100644
--- a/src/stdlib/util.h
+++ b/src/stdlib/util.h
@@ -13,7 +13,7 @@
(strlen(line) >= strlen(suffix) && strcmp(line + strlen(line) - strlen(suffix), suffix) == 0)
#define check_initialized(var, init_var, name) \
*({ \
- if (!init_var) fail("The variable " name " is being accessed before it has been initialized!"); \
+ if (!init_var) fail_text(Text("The variable " name " is being accessed before it has been initialized!")); \
&var; \
})