You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/11/10 22:39:26 UTC
[19/50] [abbrv] incubator-mynewt-core git commit: shell;
adjust tasks cli command output a bit.
shell; adjust tasks cli command output a bit.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ed475682
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ed475682
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/ed475682
Branch: refs/heads/master
Commit: ed475682d620382487748b45ecaede1ebb9cea0d
Parents: eefa203
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Nov 8 13:26:24 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Tue Nov 8 13:26:24 2016 -0800
----------------------------------------------------------------------
sys/shell/src/shell_os.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ed475682/sys/shell/src/shell_os.c
----------------------------------------------------------------------
diff --git a/sys/shell/src/shell_os.c b/sys/shell/src/shell_os.c
index aa20419..14b8657 100644
--- a/sys/shell/src/shell_os.c
+++ b/sys/shell/src/shell_os.c
@@ -47,7 +47,7 @@ shell_os_tasks_display_cmd(int argc, char **argv)
console_printf("Tasks: \n");
prev_task = NULL;
- console_printf(" %8s %3s %3s %8s %8s %8s %8s %8s %8s %3s\n",
+ console_printf("%8s %3s %3s %8s %8s %8s %8s %8s %8s %3s\n",
"task", "pri", "tid", "runtime", "csw", "stksz", "stkuse",
"lcheck", "ncheck", "flg");
while (1) {
@@ -64,7 +64,7 @@ shell_os_tasks_display_cmd(int argc, char **argv)
}
}
- console_printf(" %8s %3u %3u %8lu %8lu %8u %8u %8lu %8lu %3x\n",
+ console_printf("%8s %3u %3u %8lu %8lu %8u %8u %8lu %8lu %3x\n",
oti.oti_name, oti.oti_prio, oti.oti_taskid,
(unsigned long)oti.oti_runtime, (unsigned long)oti.oti_cswcnt,
oti.oti_stksize, oti.oti_stkusage,