mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-30 10:16:18 +00:00
Make it compile on CentOS, or so Vlad asserts.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@740 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1533,7 +1533,7 @@ bus_set_proc_data(bus_t *bp)
|
||||
SCST_DEF_RW_SEQ_OP(isp_write_proc)
|
||||
.show = isp_read_proc,
|
||||
};
|
||||
bp->proc_data = proc_data;
|
||||
memcpy(&bp->proc_data, &proc_data, sizeof(bp->proc_data));
|
||||
bp->proc_data.data = bp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user