summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wst.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/wst.c')
-rw-r--r--sys/i386/isa/wst.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/isa/wst.c b/sys/i386/isa/wst.c
index c9d6d3f..5d0827e 100644
--- a/sys/i386/isa/wst.c
+++ b/sys/i386/isa/wst.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: wst.c,v 1.17 1999/04/28 10:53:06 dt Exp $
+ * $Id: wst.c,v 1.18 1999/05/02 21:46:31 peter Exp $
*/
#include "wdc.h"
@@ -744,7 +744,8 @@ wst_erase(struct wst *t)
int error;
struct atapires result;
- if (error = wst_rewind(t))
+ error = wst_rewind(t);
+ if (error)
return error;
result = atapi_request_wait(t->ata, t->unit,
ATAPI_TAPE_ERASE, 3, 0, 0, 0,
OpenPOWER on IntegriCloud