1
0
Fork 0

Input: use seq_putc() in input_seq_print_bitmap()

Switch to using seq_putc() when printing a single character '0'.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
hifive-unleashed-5.1
Markus Elfring 2017-05-09 17:48:45 -07:00 committed by Dmitry Torokhov
parent 8a038b83e0
commit bb546136cc
1 changed files with 1 additions and 1 deletions

View File

@ -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 (skip_empty)
seq_puts(seq, "0");
seq_putc(seq, '0');
seq_putc(seq, '\n');
}