The patch titled Subject: proc/base: make prompt shell start from new line after executing "cat /proc/$pid/wchan" has been added to the -mm tree. Its filename is proc-base-make-prompt-shell-start-from-new-line-after-executing-cat-proc-pid-wchan.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/proc-base-make-prompt-shell-start-from-new-line-after-executing-cat-proc-pid-wchan.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/proc-base-make-prompt-shell-start-from-new-line-after-executing-cat-proc-pid-wchan.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Minfei Huang <mnfhuang@xxxxxxxxx> Subject: proc/base: make prompt shell start from new line after executing "cat /proc/$pid/wchan" It is not elegant that prompt shell does not start from new line after executing "cat /proc/$pid/wchan". Make prompt shell start from new line. Signed-off-by: Minfei Huang <mnfhuang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/proc/base.c~proc-base-make-prompt-shell-start-from-new-line-after-executing-cat-proc-pid-wchan fs/proc/base.c --- a/fs/proc/base.c~proc-base-make-prompt-shell-start-from-new-line-after-executing-cat-proc-pid-wchan +++ a/fs/proc/base.c @@ -434,7 +434,7 @@ static int proc_pid_wchan(struct seq_fil && !lookup_symbol_name(wchan, symname)) seq_printf(m, "%s", symname); else - seq_putc(m, '0'); + seq_puts(m, "0\n"); return 0; } _ Patches currently in -mm which might be from mnfhuang@xxxxxxxxx are proc-base-make-prompt-shell-start-from-new-line-after-executing-cat-proc-pid-wchan.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html