diff --git a/sys/dev/scsipi/atapi_wdc.c b/sys/dev/scsipi/atapi_wdc.c index c59d06899716..e4d5a72d0d6a 100644 --- a/sys/dev/scsipi/atapi_wdc.c +++ b/sys/dev/scsipi/atapi_wdc.c @@ -1,4 +1,4 @@ -/* $NetBSD: atapi_wdc.c,v 1.125 2017/10/08 21:18:14 joerg Exp $ */ +/* $NetBSD: atapi_wdc.c,v 1.126 2017/10/08 21:29:34 christos Exp $ */ /* * Copyright (c) 1998, 2001 Manuel Bouyer. @@ -25,7 +25,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: atapi_wdc.c,v 1.125 2017/10/08 21:18:14 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: atapi_wdc.c,v 1.126 2017/10/08 21:29:34 christos Exp $"); #ifndef ATADEBUG #define ATADEBUG @@ -1079,7 +1079,8 @@ wdc_atapi_phase_complete(struct ata_xfer *xfer) } return; } - } + } else + tfd = 0; /* * Some drive occasionally set WDCS_ERR with