mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-03 20:27:58 +00:00
nshlib: Add missing newline in cmd_pidof output
Add newline at the end of cmd_pidof to show nsh prompt correctly. Before this patch: ``` nsh> pidof wifi 3 nsh> ``` After: ``` nsh> pidof wifi 3 nsh> ``` Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
d2214c28c5
commit
dca6c0cd91
1 changed files with 2 additions and 0 deletions
|
|
@ -694,6 +694,8 @@ int cmd_pidof(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv)
|
|||
nsh_output(vtbl, "%d ", pids[i]);
|
||||
}
|
||||
|
||||
nsh_output(vtbl, "\n");
|
||||
|
||||
return OK;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue