aboutsummaryrefslogtreecommitdiff
path: root/src/console/vsprintf.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-04 14:28:17 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-04-09 13:25:14 +0200
commitb04e0fff7da5547e2152dc8f6f23af247e9048ec (patch)
treefeee0da3d558f1428086c16a9d7aaa51a5ffbcde /src/console/vsprintf.c
parent657e0be46495bb54ddf5a0fbad786fe352c2847f (diff)
console: Simplify vtxprintf
We do not need ROMCC support here and using wrappers for console_tx_byte we can simplify this code. Change-Id: I7f3b5acdfd0bde1d832b16418339dd5e232627e7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5334 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
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';