scst: Fix sysfs code for parsing parameters when adding or replacing a LUN

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-07-06 03:02:42 +00:00
parent a17349c566
commit 64be93db95

View File

@@ -1155,12 +1155,11 @@ static int __scst_process_luns_mgmt_store(char *buffer,
goto out_unlock;
}
e = scst_get_next_lexem(&pp);
while (1) {
char *pp;
unsigned long val;
char *param = scst_get_next_token_str(&e);
char *param = scst_get_next_token_str(&pp);
char *pp;
if (param == NULL)
break;