diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-07-31 14:29:57 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-08 16:07:26 +1000 |
commit | a93bf9ff8c90b2d2c6fbb5b15bfbc0215750c138 (patch) | |
tree | 5cab2b0374f7ab2cd6aaa8820aa22cb7f50b2544 /core/utils.c | |
parent | 39d5cf8fd96be0f36ab2d70ad35a3c6c1c57a80d (diff) | |
download | skiboot-a93bf9ff8c90b2d2c6fbb5b15bfbc0215750c138.zip skiboot-a93bf9ff8c90b2d2c6fbb5b15bfbc0215750c138.tar.gz skiboot-a93bf9ff8c90b2d2c6fbb5b15bfbc0215750c138.tar.bz2 |
Use PR_EMERG priority in (part of) assert()
When handling assert and we're going to fail, get the message out
with a high priority.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'core/utils.c')
-rw-r--r-- | core/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils.c b/core/utils.c index 2bc57b1..11e9d85 100644 --- a/core/utils.c +++ b/core/utils.c @@ -32,7 +32,7 @@ void abort(void) op_display(OP_FATAL, OP_MOD_CORE, 0x6666); - fputs("Aborting!\n", stderr); + prlog(PR_EMERG, "Aborting!\n"); backtrace(); /* XXX FIXME: We should fsp_poll for a while to ensure any pending |