Module: xenomai-3
Branch: next
Commit: 0a465a2a83d5ec19e524807f906e85296cfb7855
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0a465a2a83d5ec19e524807f906e85296cfb7855

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Oct 30 11:29:42 2014 +0100

cobalt/sched/procfs: prevent frequent overflow of timeout display

---

 kernel/cobalt/sched.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/cobalt/sched.c b/kernel/cobalt/sched.c
index 7cc5770..2c4c237 100644
--- a/kernel/cobalt/sched.c
+++ b/kernel/cobalt/sched.c
@@ -999,7 +999,7 @@ static int vfile_schedlist_show(struct 
xnvfile_snapshot_iterator *it,
 
        if (p == NULL)
                xnvfile_printf(it,
-                              "%-3s  %-6s %-5s  %-8s  %-5s %-8s  %-10s %s\n",
+                              "%-3s  %-6s %-5s  %-8s  %-5s %-12s  %-10s %s\n",
                               "CPU", "PID", "CLASS", "TYPE", "PRI", "TIMEOUT",
                               "STAT", "NAME");
        else {
@@ -1008,7 +1008,7 @@ static int vfile_schedlist_show(struct 
xnvfile_snapshot_iterator *it,
                xnthread_format_status(p->state, sbuf, sizeof(sbuf));
 
                xnvfile_printf(it,
-                              "%3u  %-6d %-5s  %-8s  %-5s %-8s  %-10s 
%s%s%s\n",
+                              "%3u  %-6d %-5s  %-8s  %-5s %-12s  %-10s 
%s%s%s\n",
                               p->cpu,
                               p->pid,
                               p->sched_class,


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to