mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8a038b83e0
commit
bb546136cc
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue