summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 7a99cd49f3..7f97b5c95f 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -91,7 +91,7 @@ void post_code(uint8_t value)
}
/* Report a fatal error */
-void die(char *msg)
+void die(const char *msg)
{
printk_emerg("%s", msg);
post_code(0xff);