diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-05-06 18:50:10 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-05-06 18:50:10 +0000 |
| commit | 03a4d0108f676994f94a4f5e1ec090bc8f388730 (patch) | |
| tree | 06aedb5600a09a1fa6f33f83761a926ac5bd21be /sys | |
| parent | d5558c001a19cfd5853f6d7ec29ff06e59cc505e (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/isa/wst.c | 4 | ||||
| -rw-r--r-- | sys/pc98/pc98/wst.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/isa/wst.c b/sys/i386/isa/wst.c index 5d0827e628e0..2f442e376fed 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.18 1999/05/02 21:46:31 peter Exp $ + * $Id: wst.c,v 1.19 1999/05/06 18:44:10 peter Exp $ */ #include "wdc.h" @@ -373,7 +373,7 @@ wstclose(dev_t dev, int flags, int fmt, struct proc *p) wst_write_filemark(t, 0); /* Write filemark if data written to tape */ - if (t->flags & (WST_DATA_WRITTEN | WST_FM_WRITTEN) == WST_DATA_WRITTEN) + if ((t->flags & (WST_DATA_WRITTEN | WST_FM_WRITTEN)) == WST_DATA_WRITTEN) wst_write_filemark(t, WEOF_WRITE_MASK); /* If minor is even rewind on close */ diff --git a/sys/pc98/pc98/wst.c b/sys/pc98/pc98/wst.c index 5d0827e628e0..2f442e376fed 100644 --- a/sys/pc98/pc98/wst.c +++ b/sys/pc98/pc98/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.18 1999/05/02 21:46:31 peter Exp $ + * $Id: wst.c,v 1.19 1999/05/06 18:44:10 peter Exp $ */ #include "wdc.h" @@ -373,7 +373,7 @@ wstclose(dev_t dev, int flags, int fmt, struct proc *p) wst_write_filemark(t, 0); /* Write filemark if data written to tape */ - if (t->flags & (WST_DATA_WRITTEN | WST_FM_WRITTEN) == WST_DATA_WRITTEN) + if ((t->flags & (WST_DATA_WRITTEN | WST_FM_WRITTEN)) == WST_DATA_WRITTEN) wst_write_filemark(t, WEOF_WRITE_MASK); /* If minor is even rewind on close */ |
