diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-21 03:53:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-21 03:53:33 +0000 |
commit | 92ca57ee0ee6d13c8338689def9c61b46b8d8cf3 (patch) | |
tree | 38027dbd9da921170cfecf12f62a8ff191e61c48 | |
parent | e8d90590cf4a8238e3be3843a05816653fd716a6 (diff) |
make this work
-rw-r--r-- | sys/scsi/st.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c index b51e2fa3a2c..08f00aaa650 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -1613,7 +1613,7 @@ st_rewind(st, immediate, flags) */ int st_erase(st, immediate, flags) - struct st_data *st; + struct st_softc *st; u_int immediate; int flags; { @@ -1635,7 +1635,7 @@ st_erase(st, immediate, flags) return (error); st->flags &= ~ST_PER_ACTION; bzero(&scsi_cmd, sizeof(scsi_cmd)); - scsi_cmd.op_code = ERASE; + scsi_cmd.opcode = ERASE; scsi_cmd.byte2 = SE_LONG | (immediate ? SE_IMMED : 0); return (scsi_scsi_cmd(st->sc_link, (struct scsi_generic *) &scsi_cmd, sizeof(scsi_cmd), 0, 0, ST_RETRIES, |