Fixed incorrect "set_t10_dev_id " token size caused by rename of set_t10_device_id...
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 16 Dec 2009 11:48:29 +0000 (11:48 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 16 Dec 2009 11:48:29 +0000 (11:48 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1398 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scst/src/dev_handlers/scst_vdisk.c

index 8ade0df..81b977c 100644 (file)
@@ -4092,8 +4092,8 @@ static int vdisk_proc_mgmt_cmd(const char *buffer, int length,
        } else if (!strncmp("resync_size ", p, 12)) {
                p += 12;
                action = 2;
-       } else if (!strncmp("set_t10_dev_id ", p, 18)) {
-               p += 18;
+       } else if (!strncmp("set_t10_dev_id ", p, 15)) {
+               p += 15;
                action = 3;
        } else {
                PRINT_ERROR("Unknown action \"%s\"", p);