aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printf.c b/printf.c
index 01021a0..e8c0720 100644
--- a/printf.c
+++ b/printf.c
@@ -113,7 +113,7 @@ static inline void _out_fct(char character, char* buffer, size_t idx, size_t max
{
(void)idx; (void)maxlen;
// buffer is the output fct pointer
- ((out_fct_wrap_type*)buffer)->fct(character, ((out_fct_wrap_type*)buffer)->user);
+ ((out_fct_wrap_type*)buffer)->fct(character, ((out_fct_wrap_type*)buffer)->arg);
}