From bebae28bdd3c426d6c4751e7739b75e39ca92a04 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 8 Apr 2023 01:55:19 +0800 Subject: [PATCH] nsh: Fix the typo error cmd_swtichboot -> cmd_switchboot Signed-off-by: Xiang Xiao --- nshlib/nsh_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_command.c b/nshlib/nsh_command.c index 2675dcd95..fa0abe174 100644 --- a/nshlib/nsh_command.c +++ b/nshlib/nsh_command.c @@ -530,7 +530,7 @@ static const struct cmdmap_s g_cmdmap[] = #endif #if defined(CONFIG_BOARDCTL_SWITCH_BOOT) && !defined(CONFIG_NSH_DISABLE_SWITCHBOOT) - { "swtichboot", cmd_swtichboot, 2, 2, "" }, + { "swtichboot", cmd_switchboot, 2, 2, "" }, #endif #if !defined(CONFIG_NSH_DISABLESCRIPT) && !defined(CONFIG_NSH_DISABLE_TEST)