diff --git a/fs/proc/cmdline.c b/fs/proc/cmdline.c index 6fd315c3f236..f272eeea1efb 100644 --- a/fs/proc/cmdline.c +++ b/fs/proc/cmdline.c @@ -9,7 +9,8 @@ static char new_command_line[COMMAND_LINE_SIZE]; static int cmdline_proc_show(struct seq_file *m, void *v) { - seq_printf(m, "%s\n", new_command_line); + seq_puts(m, new_command_line); + seq_putc(m, '\n'); return 0; }