diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-07-26 12:31:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-26 12:31:18 +0100 |
commit | 881cf37438569a0415c56e46a3b5b0e423de3532 (patch) | |
tree | 7a8d84d564590f86515932a29004b66d04d7b46c /lib | |
parent | 0c00c4fa314407e2ad98e32bfd751d8a662ed57b (diff) | |
parent | d52be21f0315fc6fc3b67a57ecdc2c80b17decd9 (diff) | |
download | arm-trusted-firmware-881cf37438569a0415c56e46a3b5b0e423de3532.tar.gz |
Merge pull request #1031 from robertovargas-arm/assert_format
Use standard UNIX file:line format in assert
Diffstat (limited to 'lib')
-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 41f70703..97fab4b0 100644 --- a/lib/stdlib/assert.c +++ b/lib/stdlib/assert.c @@ -17,14 +17,14 @@ #if PLAT_LOG_LEVEL_ASSERT >= LOG_LEVEL_VERBOSE void __assert(const char *file, unsigned int line, const char *assertion) { - tf_printf("ASSERT: %s <%d> : %s\n", file, line, assertion); + tf_printf("ASSERT: %s:%d:%s\n", file, line, assertion); console_flush(); plat_panic_handler(); } #elif PLAT_LOG_LEVEL_ASSERT >= LOG_LEVEL_INFO void __assert(const char *file, unsigned int line) { - tf_printf("ASSERT: %s <%d>\n", file, line); + tf_printf("ASSERT: %s:%d\n", file, line); console_flush(); plat_panic_handler(); } |