mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 04:31:26 +00:00
scst_vdisk/procfs: Fix a copy/paste error
Make sure that the variable "c" is incremented with the number of characters added. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4528 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5486,7 +5486,7 @@ static int vdisk_read_proc(struct seq_file *seq, struct scst_dev_type *dev_type)
|
||||
}
|
||||
if (virt_dev->removable) {
|
||||
seq_printf(seq, "RM ");
|
||||
c += 4;
|
||||
c += 3;
|
||||
}
|
||||
while (c < 16) {
|
||||
seq_printf(seq, " ");
|
||||
|
||||
Reference in New Issue
Block a user