diff options
Diffstat (limited to 'src/lib/core')
| -rw-r--r-- | src/lib/core/str.c | 2 |
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); } |
