summaryrefslogtreecommitdiff
path: root/src/console/die.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/die.c')
-rw-r--r--src/console/die.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/console/die.c b/src/console/die.c
index e6e968a5b3..b0e04a4903 100644
--- a/src/console/die.c
+++ b/src/console/die.c
@@ -25,13 +25,11 @@
#ifndef __ROMCC__
#define NORETURN __attribute__((noreturn))
-#else
-#define NORETURN
-#endif
/* Report a fatal error */
void NORETURN die(const char *msg)
{
- print_emerg(msg);
+ printk(BIOS_EMERG, "%s", msg);
halt();
}
+#endif