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 <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
parent
0de487e151
commit
f81d178b23
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue