summaryrefslogtreecommitdiff
path: root/src/console/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/vsprintf.c')
-rw-r--r--src/console/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c
index 1fb834f382..fd6646b968 100644
--- a/src/console/vsprintf.c
+++ b/src/console/vsprintf.c
@@ -48,7 +48,7 @@ static int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
ctx.str_buf = buf;
ctx.buf_limit = size ? size - 1 : 0;
- i = vtxdprintf(str_tx_byte, fmt, args, &ctx);
+ i = vtxprintf(str_tx_byte, fmt, args, &ctx);
if (size)
*ctx.str_buf = '\0';