diff options
author | 1998-02-14 08:56:50 +0000 | |
---|---|---|
committer | 1998-02-14 08:56:50 +0000 | |
commit | e478530be1b31fb17cedbabd5aa565d351ee35cd (patch) | |
tree | 215e5b434385a1baf8e6c0b3655c05761101c8bf /sys | |
parent | recog STRIPDISC; kleink (diff) | |
download | wireguard-openbsd-e478530be1b31fb17cedbabd5aa565d351ee35cd.tar.xz wireguard-openbsd-e478530be1b31fb17cedbabd5aa565d351ee35cd.zip |
clear scsi_xfer's status byte before executing or re-executing the command.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/scsi/scsi_base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index 454ef793028..a366a548902 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_base.c,v 1.20 1997/12/31 01:22:10 deraadt Exp $ */ +/* $OpenBSD: scsi_base.c,v 1.21 1998/02/14 08:56:50 deraadt Exp $ */ /* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */ /* @@ -412,6 +412,7 @@ scsi_execute_xs(xs) xs->flags &= ~ITSDONE; xs->error = XS_NOERROR; xs->resid = xs->datalen; + xs->status = 0; retry: /* |