From 1b3287f042f6f9ceb52bcb4a3cc235e3e913b7de Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Nov 2012 14:26:40 +0000 Subject: [PATCH] scst_vdisk/procfs: Fix a copy/paste error (merge r4528 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4582 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 5a05eab0b..0eefe1342 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -4651,7 +4651,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, " ");