Fix incorrect initialization of scst_mgmt_cmd_stub structure

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1400 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-12-16 19:24:42 +00:00
parent 2b5833d90e
commit 67f0cefd7d
+1 -1
View File
@@ -4091,7 +4091,7 @@ void scst_abort_cmd(struct scst_cmd *cmd, struct scst_mgmt_cmd *mcmd,
"stub failed (mcmd %p, cmd %p)", mcmd, cmd);
goto unlock;
}
memset(mstb, 0, sizeof(mstb));
memset(mstb, 0, sizeof(*mstb));
mstb->mcmd = mcmd;