aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-04-12 22:38:38 +0200
committerMattias Andrée <maandree@kth.se>2019-04-12 22:38:38 +0200
commit06d3c28efdeff1486c48dc799fb794ad9ca27779 (patch)
tree5b3f490914f64ee99587af4b51f11f1717de5b7e
parentAdd support for extended details (diff)
downloadliberror-06d3c28efdeff1486c48dc799fb794ad9ca27779.tar.gz
liberror-06d3c28efdeff1486c48dc799fb794ad9ca27779.tar.bz2
liberror-06d3c28efdeff1486c48dc799fb794ad9ca27779.tar.xz
Fix name of liberror_save_backtrace
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--internal.h2
-rw-r--r--set_error.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal.h b/internal.h
index a77aa43..eb122ed 100644
--- a/internal.h
+++ b/internal.h
@@ -31,4 +31,4 @@ HIDDEN extern _Thread_local struct liberror_error liberror_error_;
HIDDEN extern _Thread_local int liberror_have_error_;
-int liberror_save_backtrace_(struct liberror_error *);
+int liberror_save_backtrace(struct liberror_error *);
diff --git a/set_error.c b/set_error.c
index fa65141..38617c7 100644
--- a/set_error.c
+++ b/set_error.c
@@ -33,7 +33,7 @@ liberror_set_error(const char description[256], const char source[64], const cha
stpcpy(error->source, source);
stpcpy(error->code_group, code_group);
error->code = code;
- liberror_save_backtrace_(error);
+ liberror_save_backtrace(error);
error->cause = cause;
error->failed_to_allocate_cause = have_cause && !cause;
}