From 39b6cc66d670be41d6b51b644beb675f386a4240 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Thu, 16 Aug 2018 16:46:06 +0100 Subject: libc: Use printf and snprintf across codebase tf_printf and tf_snprintf are now called printf and snprintf, so the code needs to be updated. Change-Id: Iffeee97afcd6328c4c2d30830d4923b964682d71 Signed-off-by: Antonio Nino Diaz --- services/spd/trusty/generic-arm64-smcall.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'services') diff --git a/services/spd/trusty/generic-arm64-smcall.c b/services/spd/trusty/generic-arm64-smcall.c index 1362c1c68..6f766c4db 100644 --- a/services/spd/trusty/generic-arm64-smcall.c +++ b/services/spd/trusty/generic-arm64-smcall.c @@ -6,6 +6,7 @@ #include #include +#include #include "generic-arm64-smcall.h" @@ -29,14 +30,14 @@ static void trusty_dputc(char ch, int secure) s->linebuf[s->l++] = ch; if (s->l == sizeof(s->linebuf) || ch == '\n') { if (secure) - tf_printf("secure os: "); + printf("secure os: "); else - tf_printf("non-secure os: "); + printf("non-secure os: "); for (i = 0; i < s->l; i++) { putchar(s->linebuf[i]); } if (ch != '\n') { - tf_printf(" <...>\n"); + printf(" <...>\n"); } s->l = 0; } -- cgit v1.2.3