From f81d178b234ea149489be69d06c40d60d280b121 Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Wed, 28 Aug 2024 14:19:27 +0800 Subject: [PATCH] shell: modules: kernel: fix typo in `cmd_kernel_uptime()` Caught by CI in another PR, should be 'Unsupported' instead. Signed-off-by: Yong Cong Sin Signed-off-by: Yong Cong Sin --- subsys/shell/modules/kernel_service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/shell/modules/kernel_service.c b/subsys/shell/modules/kernel_service.c index c7c5f51d9b2..c10dd1b8c1d 100644 --- a/subsys/shell/modules/kernel_service.c +++ b/subsys/shell/modules/kernel_service.c @@ -64,7 +64,7 @@ static int cmd_kernel_uptime(const struct shell *sh, size_t argc, char **argv) /* No need to enable the getopt and getopt_long for just one option. */ if (strcmp("-p", argv[1]) && strcmp("--pretty", argv[1]) != 0) { - shell_error(sh, "Usupported option: %s", argv[1]); + shell_error(sh, "Unsupported option: %s", argv[1]); return -EIO; }