aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-05-10 12:36:43 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-05-10 12:36:43 +0000
commit394ebff281fdf04c537f31ad436ce1f0b91502e4 (patch)
treee8ecff2cbe77b9acf88657b4176d89ab7127e859
parent5820983bd38686f61120cce120c3bf430d9b37dc (diff)
Notes
-rw-r--r--sys/i386/isa/wst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/wst.c b/sys/i386/isa/wst.c
index 3d2f4e8e5914..a46896c9dee6 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.14 1999/01/12 00:36:36 eivind Exp $
+ * $Id: wst.c,v 1.15 1999/01/12 01:28:00 eivind Exp $
*/
#include "wdc.h"
@@ -430,7 +430,7 @@ wststrategy(struct buf *bp)
}
if (bp->b_bcount > t->blksize*t->cap.ctl) {
- if (t->flags & WST_CTL_WARN == 0) {
+ if ((t->flags & WST_CTL_WARN) == 0) {
printf("wst%d: WARNING: CTL exceeded %ld>%d\n",
lun, bp->b_bcount, t->blksize*t->cap.ctl);
t->flags |= WST_CTL_WARN;