Module: xenomai-jki Branch: queues/proc Commit: 4711a06178c23485884ff93e652a62b4ba933057 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=4711a06178c23485884ff93e652a62b4ba933057
Author: Jan Kiszka <[email protected]> Date: Sun Apr 11 19:22:56 2010 +0200 RTDM: Extend device name space in open_fildes proc output Device names can be up to 31 characters long. Signed-off-by: Jan Kiszka <[email protected]> --- ksrc/skins/rtdm/proc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ksrc/skins/rtdm/proc.c b/ksrc/skins/rtdm/proc.c index e83c0c4..20c9ad8 100644 --- a/ksrc/skins/rtdm/proc.c +++ b/ksrc/skins/rtdm/proc.c @@ -146,7 +146,7 @@ static int open_fildes_seq_show(struct seq_file *seq, void *v) spl_t s; if (v == SEQ_START_TOKEN) { - seq_printf(seq, "Index\tLocked\tDevice\t\tOwner [PID]\n"); + seq_printf(seq, "Index\tLocked\tDevice\t\t\t\tOwner [PID]\n"); return 0; } @@ -173,7 +173,7 @@ static int open_fildes_seq_show(struct seq_file *seq, void *v) xnlock_put_irqrestore(&rt_fildes_lock, s); - seq_printf(seq, "%d\t%d\t%-15s %s [%d]\n", + seq_printf(seq, "%d\t%d\t%-31s %s [%d]\n", (int)(fildes - fildes_table), close_lock_count, (device->device_flags & RTDM_NAMED_DEVICE) ? device->device_name : device->proc_name, _______________________________________________ Xenomai-git mailing list [email protected] https://mail.gna.org/listinfo/xenomai-git
