Skip to content

Commit f81d178

Browse files
ycsinnashif
authored andcommitted
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 <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]>
1 parent 0de487e commit f81d178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/shell/modules/kernel_service.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static int cmd_kernel_uptime(const struct shell *sh, size_t argc, char **argv)
6464

6565
/* No need to enable the getopt and getopt_long for just one option. */
6666
if (strcmp("-p", argv[1]) && strcmp("--pretty", argv[1]) != 0) {
67-
shell_error(sh, "Usupported option: %s", argv[1]);
67+
shell_error(sh, "Unsupported option: %s", argv[1]);
6868
return -EIO;
6969
}
7070

0 commit comments

Comments
 (0)