diff options
author | Marco Paland <marco@paland.com> | 2018-06-05 11:41:45 +0200 |
---|---|---|
committer | Marco Paland <marco@paland.com> | 2018-06-05 11:41:45 +0200 |
commit | 23d0687aab9a7e009e8a485baf79f4ba9295995b (patch) | |
tree | ff368547780e5952f8e0a3d16014962ba6f6c0d0 | |
parent | a50f1a8369c909a835a21d54d3facfb4a628205f (diff) | |
download | printf-23d0687aab9a7e009e8a485baf79f4ba9295995b.tar.gz printf-23d0687aab9a7e009e8a485baf79f4ba9295995b.tar.bz2 printf-23d0687aab9a7e009e8a485baf79f4ba9295995b.zip |
fix(printf): fix argument name in output function wrapper
-rw-r--r-- | printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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);
}
|