diff options
author | Mattias Andrée <maandree@kth.se> | 2019-04-12 22:38:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-04-12 22:38:38 +0200 |
commit | 06d3c28efdeff1486c48dc799fb794ad9ca27779 (patch) | |
tree | 5b3f490914f64ee99587af4b51f11f1717de5b7e | |
parent | Add support for extended details (diff) | |
download | liberror-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>
Diffstat (limited to '')
-rw-r--r-- | internal.h | 2 | ||||
-rw-r--r-- | set_error.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; } |