mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
Merge of trunk r1400:
Fix incorrect initialization of scst_mgmt_cmd_stub structure git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1401 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3994,7 +3994,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user