From 7aff34756e3e43e497ae6a41d1429bf046fb901b Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Thu, 26 Oct 2017 18:45:44 +0900 Subject: [PATCH] configs: artik530_raptor: fix crashed env There ware two adjacent terminating characters, "\0" in CONFIG_EXTRA_ENV_SETTINGS, so extracting env was crashed. Fix the crashed env by using just one terminationg character. Fixes: 4079a389a810 ("configs: artik530_raptor: fix wrong consoleon/consoleoff commands") Change-Id: Ia5ac94972ef80afd5821322e6c5c10f2c64f1a27 Signed-off-by: Seung-Woo Kim --- include/configs/artik530_raptor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/artik530_raptor.h b/include/configs/artik530_raptor.h index e04efe4541..904637c48d 100644 --- a/include/configs/artik530_raptor.h +++ b/include/configs/artik530_raptor.h @@ -422,7 +422,7 @@ "fi; setenv success; setenv number; setenv loop;\0" \ "bootdelay=" __stringify(CONFIG_BOOTDELAY) "\0" \ "console=" CONFIG_DEFAULT_CONSOLE \ - "console_default=setenv console " CONFIG_DEFAULT_CONSOLE "\0" \ + "console_default=setenv console " CONFIG_DEFAULT_CONSOLE \ "consoleon=run console_default; saveenv; reset\0" \ "consoleoff=setenv console ram; saveenv; reset\0" \ "rootdev=" __stringify(CONFIG_ROOT_DEV) "\0" \ -- 2.34.1