[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180217072011.GB16074@avx2>
Date: Sat, 17 Feb 2018 10:20:11 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] proc: use set_puts() at /proc/*/wchan
Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
---
fs/proc/base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -396,7 +396,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;
}
Powered by blists - more mailing lists