diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-14 08:56:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-14 08:56:51 +0000 |
commit | ed47428111080ac63ff673cdc449a230d6782c90 (patch) | |
tree | 68773162325199cb26bb041391e87456c05f8c3d /sys/scsi | |
parent | 3bb5b7478d3bbd873ba75ab1ff1163209b378817 (diff) |
clear scsi_xfer's status byte before executing or re-executing the command.
Diffstat (limited to 'sys/scsi')
-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: /* |