mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-09 07:54:00 +00:00
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@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b5946beaa9
commit
7e2bc81da3
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns,
|
||||||
&& !lookup_symbol_name(wchan, symname))
|
&& !lookup_symbol_name(wchan, symname))
|
||||||
seq_printf(m, "%s", symname);
|
seq_printf(m, "%s", symname);
|
||||||
else
|
else
|
||||||
seq_putc(m, '0');
|
seq_puts(m, "0\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue