From 23d0687aab9a7e009e8a485baf79f4ba9295995b Mon Sep 17 00:00:00 2001 From: Marco Paland Date: Tue, 5 Jun 2018 11:41:45 +0200 Subject: fix(printf): fix argument name in output function wrapper --- printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3