[PATCH 1/1] fs/proc/consoles: replace seq_printf by seq_puts

From: Fabian Frederick
Date: Fri May 30 2014 - 12:48:18 EST


Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/proc/consoles.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/proc/consoles.c b/fs/proc/consoles.c
index 290ba85..cb47c7e 100644
--- a/fs/proc/consoles.c
+++ b/fs/proc/consoles.c
@@ -55,7 +55,7 @@ static int show_console_dev(struct seq_file *m, void *v)
if (dev)
seq_printf(m, " %4d:%d", MAJOR(dev), MINOR(dev));

- seq_printf(m, "\n");
+ seq_puts(m, "\n");

return 0;
}
--
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/