aboutsummaryrefslogtreecommitdiffstats
path: root/set_error_one_file.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--set_error_one_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/set_error_one_file.c b/set_error_one_file.c
index f8061f8..b9b46d1 100644
--- a/set_error_one_file.c
+++ b/set_error_one_file.c
@@ -7,6 +7,7 @@ liberror_libc_set_error_one_file(const char desc[256], const char source[64], co
{
struct liberror_error *error;
int saved_errno = errno;
+ liberror_save_backtrace(NULL);
liberror_set_error_errno(desc, source, saved_errno);
error = liberror_get_error();
error->details_type = LIBERROR_DETAILS_ONE_FILE;