artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0934ece
)
make this work
author
deraadt
<deraadt@openbsd.org>
Tue, 21 Nov 1995 03:53:32 +0000
(
03:53
+0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 21 Nov 1995 03:53:32 +0000
(
03:53
+0000)
sys/scsi/st.c
patch
|
blob
|
history
diff --git
a/sys/scsi/st.c
b/sys/scsi/st.c
index
b51e2fa
..
08f00aa
100644
(file)
--- 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,