CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2010/06/25 22:04:24

Modified files:
        sys/dev/ic     : adw.c 
        sys/arch/vax/dec: sii.c 

Log message:
xs->cmd[n] doesn't mean the n'th byte, because xs->cmd is a struct
*scsi_generic. Change xs->cmd[0] references in sii.c to xs->cmd->opcode
and do (caddr_t) arithmetic when copying chunks into the adw adapter
struct.

Found by Matthew Dempsky, diff tweaked and tested by me.

Reply via email to