diff options
author | Dan Handley <dan.handley@arm.com> | 2014-07-25 14:54:38 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-07-25 14:54:38 +0100 |
commit | 705bf6806ba03169966a7c7df53a195d0255fefa (patch) | |
tree | d10f1c88279c9c5d481c82d6302d3989abc9bb3c /lib/stdlib/assert.c | |
parent | a1a441775f64da2cbbd42c4f2c6f818f93278fca (diff) | |
parent | b79af9344503b2d7b435451cfb8b1ab80b8afdf4 (diff) |
Merge pull request #174 from soby-mathew:sm/lean_printf_v2
Implement a leaner printf for Trusted Firmware
Diffstat (limited to 'lib/stdlib/assert.c')
-rw-r--r-- | lib/stdlib/assert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/assert.c b/lib/stdlib/assert.c index 8156a280..c614854f 100644 --- a/lib/stdlib/assert.c +++ b/lib/stdlib/assert.c @@ -28,7 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <stdio.h> +#include <debug.h> /* * This is a basic implementation. This could be improved. @@ -36,6 +36,6 @@ void __assert (const char *function, const char *file, unsigned int line, const char *assertion) { - printf("ASSERT: %s <%d> : %s\n\r", function, line, assertion); + tf_printf("ASSERT: %s <%d> : %s\n\r", function, line, assertion); while(1); } |