Skip to content

Commit

Permalink
Fix wrong use of sprintf function
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Aug 21, 2022
1 parent 307af05 commit 72ff9c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lwprintf/src/include/lwprintf/lwprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ uint8_t lwprintf_unprotect_ex(lwprintf_t* const lw);
* \return The number of characters that would have been written,
* not counting the terminating null character.
*/
#define lwprintf_sprintf_ex(lw, s, format, ...) lwprintf_snprintf((lw), (s), SIZE_MAX, (format), ## __VA_ARGS__)
#define lwprintf_sprintf_ex(lw, s, format, ...) lwprintf_snprintf_ex((lw), (s), SIZE_MAX, (format), ## __VA_ARGS__)

/**
* \brief Initialize default LwPRINTF instance
Expand Down

0 comments on commit 72ff9c0

Please sign in to comment.