diff options
author | danh-arm <dan.handley@arm.com> | 2014-08-12 16:57:46 +0100 |
---|---|---|
committer | danh-arm <dan.handley@arm.com> | 2014-08-12 16:57:46 +0100 |
commit | 6f08fd5f95c276b532123994407d0c5999ff61db (patch) | |
tree | aee9e7965acceefc95afad26aa9839ec19a13270 /lib/stdlib/abort.c | |
parent | 46339731477bbed24f9dbf81d38deb5ad3b5727c (diff) | |
parent | 6ad2e461f0cd6de5aefd89fa0ba7acf2c293b8c2 (diff) |
Merge pull request #183 from danh-arm/dh/print_output2
Add concept of console output log levels
Rationalize console log output
Diffstat (limited to 'lib/stdlib/abort.c')
-rw-r--r-- | lib/stdlib/abort.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/abort.c b/lib/stdlib/abort.c index 2ef3beea..862bf9c4 100644 --- a/lib/stdlib/abort.c +++ b/lib/stdlib/abort.c @@ -28,13 +28,13 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <stdio.h> +#include <debug.h> /* * This is a basic implementation. This could be improved. */ void abort (void) { - printf("ABORT\n\r"); - while(1); + ERROR("ABORT\n"); + panic(); } |