From 05cf277910ee1f890f1fd27444fb9e2fc0fe5fb4 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 16 Dec 2009 11:48:29 +0000 Subject: [PATCH] Fixed incorrect "set_t10_dev_id " token size caused by rename of set_t10_device_id to set_t10_dev_id. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1398 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 8ade0dfb6..81b977caa 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -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);