summaryrefslogtreecommitdiff
path: root/src/u8c/seterr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/u8c/seterr.c')
-rw-r--r--src/u8c/seterr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/u8c/seterr.c b/src/u8c/seterr.c
index 5796683..c500ff4 100644
--- a/src/u8c/seterr.c
+++ b/src/u8c/seterr.c
@@ -19,9 +19,9 @@
# include <stdint.h>
# include <stdlib.h>
# include <u8c/dbgprint.h>
-# include <u8c/freeu32.h>
# include <u8c/seterr.h>
# include <u8c/u32cp.h>
+# include <u8c/u32free.h>
# if defined(u8c_bethrdsafe)
# include <threads.h>
# endif
@@ -31,7 +31,7 @@ uint_least8_t u8c_seterr(uint_least32_t const * const _msg) {
# if defined(u8c_bethrdsafe)
mtx_lock(&u8c_errlock);
# endif
- u8c_freeu32(u8c_err);
+ u8c_u32free(u8c_err);
u8c_u32cp(NULL,&u8c_err,_msg);
# if defined(u8c_bethrdsafe)
mtx_unlock(&u8c_errlock);