Commit bb546136 authored by Markus Elfring's avatar Markus Elfring Committed by Dmitry Torokhov

Input: use seq_putc() in input_seq_print_bitmap()

Switch to using seq_putc() when printing a single character '0'.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 8a038b83
...@@ -1126,7 +1126,7 @@ static void input_seq_print_bitmap(struct seq_file *seq, const char *name, ...@@ -1126,7 +1126,7 @@ static void input_seq_print_bitmap(struct seq_file *seq, const char *name,
* If no output was produced print a single 0. * If no output was produced print a single 0.
*/ */
if (skip_empty) if (skip_empty)
seq_puts(seq, "0"); seq_putc(seq, '0');
seq_putc(seq, '\n'); seq_putc(seq, '\n');
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment