diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-08-29 10:20:42 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-29 15:34:45 -0600 |
commit | 427fd2bee0a33a670de186387e79d280a6808a66 (patch) | |
tree | 61ca2e1e6a8daaf0945a08efed378ac655a5355d /drivers | |
parent | 3f1a1b7cbb94f5f61d55f5f8d7391a0d84824cca (diff) | |
download | linux-427fd2bee0a33a670de186387e79d280a6808a66.tar.gz linux-427fd2bee0a33a670de186387e79d280a6808a66.tar.xz |
drbd: A single dot should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/drbd/drbd_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c index 8378142f7a55..fc0f627567fd 100644 --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c @@ -127,7 +127,7 @@ static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *se seq_putc(seq, '='); seq_putc(seq, '>'); for (i = 0; i < y; i++) - seq_printf(seq, "."); + seq_putc(seq, '.'); seq_puts(seq, "] "); if (state.conn == C_VERIFY_S || state.conn == C_VERIFY_T) |