Skip to content

Commit

Permalink
proc: use set_puts() at /proc/*/wchan
Browse files Browse the repository at this point in the history
Link: http://lkml.kernel.org/r/20180217072011.GB16074@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and torvalds committed Apr 11, 2018
1 parent 24b2ec2 commit 21dae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns,

wchan = get_wchan(task);
if (wchan && !lookup_symbol_name(wchan, symname)) {
seq_printf(m, "%s", symname);
seq_puts(m, symname);
return 0;
}

Expand Down

0 comments on commit 21dae0a

Please sign in to comment.