aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-05-12 10:51:30 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-05-12 10:51:30 -0400
commit58ca01047c5da6f244525ca612154d220cef8819 (patch)
tree81c11d8b57ea2c246ad276ea7d163925b0fcd088 /src/lib
parent4e9fc375be4019578877859e701619f7fa8aa218 (diff)
downloadstasis-58ca01047c5da6f244525ca612154d220cef8819.tar.gz
Use log_print_error instead of SYSERROR
* Add comment so I don't accidentally do it again
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/core/str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/str.c b/src/lib/core/str.c
index 447fc78..c31ce5e 100644
--- a/src/lib/core/str.c
+++ b/src/lib/core/str.c
@@ -11,7 +11,7 @@ char *strdup_maybe_entry(const char * restrict s, const struct ExecPoint ep, con
if (s != NULL) {
char *x = strdup(s);
if (!x) {
- SYSERROR("unable to duplicate string");
+ // We want to trace the origin of the allocation so SYSERROR can't be used here.
log_print_error(ep, "out of memory");
exit(exit_code);
}