aboutsummaryrefslogtreecommitdiffstats
path: root/setenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'setenv.c')
-rw-r--r--setenv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/setenv.c b/setenv.c
index 157fea2..0bb7831 100644
--- a/setenv.c
+++ b/setenv.c
@@ -25,6 +25,7 @@ liberror_setenv(const char *envname, const char *envval, int overwrite)
desc = "Environment variable name contains the '=' character";
}
error:
+ liberror_save_backtrace(NULL);
liberror_set_error_errno(desc, "setenv", errno);
return -1;
}